Compare commits

...

4 Commits

Author SHA1 Message Date
shenjianxing
b0776906aa Merge branch 'NewMaster' into LouDi_Pig 2025-04-07 10:32:12 +08:00
shenjianxing
da52d47a20 完善VR适配 2025-04-07 10:30:35 +08:00
shenjianxing
0332229981 合并 2025-04-07 09:40:30 +08:00
shenjianxing
34feae945c 修复UI不消失的bug 2025-04-07 09:40:06 +08:00
2 changed files with 5 additions and 4 deletions

View File

@ -132,11 +132,11 @@ namespace QFramework
}
#if VR
private void Update()
public virtual void Update()
{
#if VR
transform.localEulerAngles = Vector3.zero;
}
#endif
}
}
}

View File

@ -51,8 +51,9 @@ namespace QFramework.Example
}
private void Update()
public override void Update()
{
base.Update();
if (isRun)
{
object[] objects = new object[mData.values.Count];