コード例 #1
0
 // 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>();
 }
コード例 #2
0
 public void morirDespuesDe(float segundos, controlEscenarios control)
 {
     controlEscenarios = control;
     StartCoroutine(destruirDespuesDe(segundos));
 }