From af1bf448336853c07d71eb4a71dc83f72b7caccd Mon Sep 17 00:00:00 2001 From: huyulong <1838407198@qq.com> Date: Fri, 3 Jan 2025 11:59:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E6=8C=81=E4=BA=BA=E7=8E=A9=E5=AE=B6?= =?UTF-8?q?=E7=9B=B8=E6=9C=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xiaofang/Assets/Res/gsj/test111.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xiaofang/Assets/Res/gsj/test111.cs b/xiaofang/Assets/Res/gsj/test111.cs index ed34cbb7..69d28214 100644 --- a/xiaofang/Assets/Res/gsj/test111.cs +++ b/xiaofang/Assets/Res/gsj/test111.cs @@ -29,16 +29,16 @@ public class test111 : MonoBehaviour { Debug.Log(ReadRoom.instance.isenter); canvas1.gameObject.SetActive(false); - camera.gameObject.SetActive(true); + camera.gameObject.SetActive(false); canvas2.gameObject.SetActive(false); - camera1.gameObject.SetActive(false); + camera1.gameObject.SetActive(true); } else { canvas1.gameObject.SetActive(false); - camera.gameObject.SetActive(false); - canvas2.gameObject.SetActive(true); - camera1.gameObject.SetActive(true); + camera.gameObject.SetActive(true); + canvas2.gameObject.SetActive(false); + camera1.gameObject.SetActive(false); } } // Update is called once per frame