public void Back() { cameraSwap = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <CameraSwap>(); FindObjectOfType <AudioManager>().Play("Click2"); cameraSwap.swapCamera(); controls.SetActive(false); volume.SetActive(false); graphics.SetActive(false); }
public void OptionsMenu() { cameraSwap = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <CameraSwap>(); FindObjectOfType <AudioManager>().Play("Click2"); cameraSwap.swapCamera(); }