From cab83a480d05a7532518dc868c6c7593d27a4135 Mon Sep 17 00:00:00 2001 From: YangHua <1475658476@qq.com> Date: Thu, 5 Sep 2024 12:59:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=8A=9E=E5=85=AC?= =?UTF-8?q?=E5=AE=A4=E5=9C=BA=E6=99=AF=E6=9D=A5=E5=9B=9E=E8=B7=B3=20?= =?UTF-8?q?=E4=B8=8D=E6=98=BE=E7=A4=BA=20=E7=9B=B8=E6=9C=BA=E5=BE=97?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Project/Manager/OfficeManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Project/Manager/OfficeManager.cs b/Assets/Scripts/Project/Manager/OfficeManager.cs index 755092c..4fb5792 100644 --- a/Assets/Scripts/Project/Manager/OfficeManager.cs +++ b/Assets/Scripts/Project/Manager/OfficeManager.cs @@ -20,7 +20,7 @@ public class OfficeManager : SingletonMono /// public MobileController mobileController; private FirstPersonController firstPersonController; - void Start() + protected override void Awake() { firstPersonController = GameObject.FindGameObjectWithTag("Player").GetComponent(); firstPersonController.gameObject.SetActive(false);