Пример #1
0
 public void Back()
 {
     cameraSwap = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <CameraSwap>();
     FindObjectOfType <AudioManager>().Play("Click2");
     cameraSwap.swapCamera();
     controls.SetActive(false);
     volume.SetActive(false);
     graphics.SetActive(false);
 }
Пример #2
0
 public void OptionsMenu()
 {
     cameraSwap = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <CameraSwap>();
     FindObjectOfType <AudioManager>().Play("Click2");
     cameraSwap.swapCamera();
 }