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