|
@@ -96,9 +96,11 @@ public class WindowsManager : MonoSingleton<WindowsManager>
|
|
|
Application.targetFrameRate = 300;
|
|
|
|
|
|
GameObject jt = GameObject.Instantiate( GetPrefab(windowType.XunJian, "JianTou"),OpenXRCamera.Instance.head.transform);
|
|
|
- jt.transform.localPosition = new Vector3(0, 0, 1);
|
|
|
+ jt.transform.localPosition = Vector3.zero;
|
|
|
jt.transform.localEulerAngles = Vector3.zero;
|
|
|
- GameObject.Instantiate(GetPrefab(windowType.XunJian, "SaoMiao"), OpenXRCamera.Instance.head.transform);
|
|
|
+ GameObject obj= GameObject.Instantiate(GetPrefab(windowType.XunJian, "SaoMiao"), OpenXRCamera.Instance.head.transform);
|
|
|
+ obj.transform.localPosition = new Vector3(0,0,1.7f);
|
|
|
+ obj.transform.localEulerAngles = Vector3.zero;
|
|
|
GameObject.Instantiate(GetPrefab(windowType.XunJian, "ARSaoTu"));
|
|
|
GameObject.Instantiate(GetPrefab(windowType.ProjectMain, "PlayerToImage"));
|
|
|
GameObject.Instantiate(GetPrefab(windowType.RTC, "GHZRtcNew"));
|
|
@@ -364,11 +366,6 @@ public class WindowsManager : MonoSingleton<WindowsManager>
|
|
|
|
|
|
void updatePart()
|
|
|
{
|
|
|
- if (tipInfoGameObject!=null&&API_GSXR_Module_InputSystem.GSXR_Position!=null)
|
|
|
- {
|
|
|
- tipInfoGameObject.transform.position = API_GSXR_Module_InputSystem.GSXR_Position;
|
|
|
- tipInfoGameObject.transform.LookAt(OpenXRCamera.Instance.head);
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
private void Update()
|