diff --git a/xiaofang/Assets/Res/gsj/test111.cs b/xiaofang/Assets/Res/gsj/test111.cs index 96e87830..dcbce849 100644 --- a/xiaofang/Assets/Res/gsj/test111.cs +++ b/xiaofang/Assets/Res/gsj/test111.cs @@ -13,7 +13,7 @@ public class test111 : MonoBehaviour { canvas1.gameObject.SetActive(true); canvas2.gameObject.SetActive(false); - camera1.gameObject.SetActive(true); + camera1.gameObject.SetActive(false); } // Update is called once per frame @@ -23,6 +23,7 @@ public class test111 : MonoBehaviour { canvas1.gameObject.SetActive(false); canvas2.gameObject.SetActive(true); + camera1.gameObject.SetActive(true); } } } diff --git a/xiaofang/Assets/Script/UI/ZZZZZZ/FreePanelManager.cs b/xiaofang/Assets/Script/UI/ZZZZZZ/FreePanelManager.cs index 21b3102e..3a68628c 100644 --- a/xiaofang/Assets/Script/UI/ZZZZZZ/FreePanelManager.cs +++ b/xiaofang/Assets/Script/UI/ZZZZZZ/FreePanelManager.cs @@ -6,7 +6,6 @@ using JetBrains.Annotations; using Newtonsoft.Json; using TMPro; using Unity.VisualScripting; -using UnityEditor.Rendering.LookDev; using UnityEngine; using UnityEngine.UI;