![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
VR
呼呼突突
这个作者很懒,什么都没留下…
展开
-
Unity使用UGUI的World Space模式受TAA影响模糊和渲染层级的问题
勾选Override Depth 解决渲染层级的问题。场景中添加Custom Pass。原创 2023-03-14 13:29:49 · 416 阅读 · 0 评论 -
Unity中使用VR手柄射线触发UI事件
【代码】Unity中使用VR手柄射线触发UI事件。原创 2023-03-03 17:04:07 · 2140 阅读 · 0 评论 -
unity判定两个物体距离
float lenght = (target.position - transform.position).sqrMagnitude; if (lenght < 10 * 10) { Debug.Log("与目标小于10米"); }原创 2020-07-23 16:43:52 · 10545 阅读 · 3 评论 -
Unity物体一直跟随在镜头前(VR/AR方面)
public class CalculateWindow : MonoBehaviour{ private Vector2 windowOffset = new Vector2(0.2f, 0.2f);//偏移量 public TextAnchor windowAnchor = TextAnchor.LowerCenter;//偏移类型 private Transform window;//跟随的窗体 public Transform cameraTransform;//相原创 2020-08-21 14:11:54 · 1570 阅读 · 3 评论