// Start is called before the first frame update void Start() { animator = GetComponent <Animator>(); OVRPlayerController = GameObject.FindObjectOfType <OVRPlayerController>(); controlEscenarios = GameObject.FindObjectOfType <controlEscenarios>(); textoStart.text = ""; audioSource = GetComponent <AudioSource>(); }
public void morirDespuesDe(float segundos, controlEscenarios control) { controlEscenarios = control; StartCoroutine(destruirDespuesDe(segundos)); }