主持人玩家相机修改
This commit is contained in:
parent
4a9233364c
commit
af1bf44833
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user