From 73ea5e97f33e6ec8d1f3d350d0848906f49241c1 Mon Sep 17 00:00:00 2001 From: zhangxl <1062808664@qq.com> Date: Fri, 19 Jul 2024 10:52:40 +0800 Subject: [PATCH] Update TestZhongLi.cs --- Assets/DemoGame/GameScript/Hotfix/TestZhongLi.cs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Assets/DemoGame/GameScript/Hotfix/TestZhongLi.cs b/Assets/DemoGame/GameScript/Hotfix/TestZhongLi.cs index a026352..76d4730 100644 --- a/Assets/DemoGame/GameScript/Hotfix/TestZhongLi.cs +++ b/Assets/DemoGame/GameScript/Hotfix/TestZhongLi.cs @@ -2,8 +2,14 @@ namespace ZC { - public class TestZhongLi + public class TestZhongLi : GameObjectBase { + public override void OnUpdate(float dateTime) + { + base.OnUpdate(dateTime); + Debug.Log("没找到?"); + } + public void Update() { if (SystemInfo.supportsGyroscope) @@ -17,8 +23,8 @@ namespace ZC } else { - Debug.Log("没找到?"); - } +// Debug.Log("没找到?"); + } } } } \ No newline at end of file