This commit is contained in:
huyulong 2024-12-26 04:18:42 +08:00
parent e7d9b0dd5e
commit 8c3910a8f6
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}
}

View File

@ -6,7 +6,6 @@ using JetBrains.Annotations;
using Newtonsoft.Json;
using TMPro;
using Unity.VisualScripting;
using UnityEditor.Rendering.LookDev;
using UnityEngine;
using UnityEngine.UI;