public void UserInput() { RaycastHit rhit; if (Physics.Raycast(cam.transform.position, cam.transform.forward, out rhit, Mathf.Infinity, lmask.value) && PlayReady == WorldSet.notset) { PlayReady = WorldSet.set; audioObj.SetActive(true); level0.SetActive(true); level0.transform.position = rhit.point; startbutton.SetActive(false); } }
void Start() { PlayReady = WorldSet.notset; // SceneManager.LoadScene(1, LoadSceneMode.Additive); StartCoroutine(TakeLogoAway()); }