void Start() { Cursor.visible = true; Cursor.lockState = CursorLockMode.None; Debug.Log("empezo escena"); sn = GameObject.FindObjectOfType(typeof(LevelChage)) as LevelChage; }
void Start() { foreach (var item in pieces) { item.SetActive(false); } audioSource = GetComponent <AudioSource>(); scare.SetActive(false); sn = GameObject.FindObjectOfType(typeof(LevelChage)) as LevelChage; escape.SetActive(false); }
void Start() { sn = GameObject.FindObjectOfType(typeof(LevelChage)) as LevelChage; }