主持人玩家相机修改

This commit is contained in:
huyulong 2025-01-03 11:59:14 +08:00
parent 4a9233364c
commit af1bf44833

View File

@ -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