界面微调,设备连接中断跳时间bug修复
This commit is contained in:
1 parent
f1eeb11543
commit
7ba012f5f2
20 files changed
+3763
-3334
No files matched your search
@@ -35,6 +35,11 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
Vector2 vp2 = _minicamera.WorldToViewportPoint(transform.localPosition);//将三维物体的世界坐标转换为视口坐标
|
||||
tr.anchoredPosition = new Vector2((vp2.x * RectRoot.sizeDelta.x) - (RectRoot.sizeDelta.x * 0.5f), (vp2.y * RectRoot.sizeDelta.y) - (RectRoot.sizeDelta.y * 0.5f));
|
||||
}
|
||||
else
|
||||
{
|
||||
DestroyImmediate(arrow);
|
||||
//DestroyImmediate(gameObject);
|
||||
}
|
||||
t = 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user