Exemplo n.º 1
0
    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);
        }
    }
Exemplo n.º 2
0
 void Start()
 {
     PlayReady = WorldSet.notset;
     //  SceneManager.LoadScene(1, LoadSceneMode.Additive);
     StartCoroutine(TakeLogoAway());
 }