From d7e88405adb3909a0b3863dd33cb53c7b95802c0 Mon Sep 17 00:00:00 2001 From: YangHua <1475658476@qq.com> Date: Mon, 29 Jan 2024 18:06:57 +0800 Subject: [PATCH] wqewe --- Assets/Zion/Scripts/Adam/GameManager.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/Zion/Scripts/Adam/GameManager.cs b/Assets/Zion/Scripts/Adam/GameManager.cs index 7311061e..53eb74ea 100644 --- a/Assets/Zion/Scripts/Adam/GameManager.cs +++ b/Assets/Zion/Scripts/Adam/GameManager.cs @@ -58,7 +58,8 @@ public class GameManager : MonoSingleton // Start is called before the first frame update private void Awake() { - satelliteImagery.SetActive(false); + if (satelliteImagery != null) + satelliteImagery.SetActive(false); postureBtn.onClick.AddListener(() => { satelliteImagery.SetActive(false);