public void ChangeCamera3()
 {
     Camera2.SetActive(false);
     Camera3.SetActive(false);
     Camera4.SetActive(false);
     Camera1.SetActive(true);
 }
Beispiel #2
0
 public void OnCamera1()
 {
     Canvas.transform.parent = Camera1.transform;
     Image.SetActive(false);
     Camera1.SetActive(true);
     Camera2.SetActive(false);
     Camera3.SetActive(false);
     Camera4.SetActive(false);
     Camera1button.sprite = Camera1buttonSprite[1];
     Camera2button.sprite = Camera2buttonSprite[0];
     Camera3button.sprite = Camera3buttonSprite[0];
     Camera4button.sprite = Camera4buttonSprite[0];
 }
 public void ChangeCamera2()
 {
     Camera4.SetActive(true);
 }