private void hide() { Time.timeScale = preTimeScale; AudioListener.pause = false; foreach (Transform child in this.gameObject.transform) { child.gameObject.SetActive(false); } CamLook comprovant = cam.GetComponent <CamLook>(); Debug.Assert(comprovant != null); if (!accesKilled.killed) { comprovant.FixarCursor(); } }