Example #1
0
 void Start()
 {
     nave         = GameObject.Find("Nave");
     col          = nave.GetComponent <Colisiones>();
     shipInput    = nave.GetComponent <ShipInput>();
     ship         = nave.GetComponent <Ship>();
     WinLose.text = "";
     restart.SetActive(false);
 }
Example #2
0
 void Start()
 {
     nave = GameObject.Find("Nave");
     col  = nave.GetComponent <Colisiones>();
 }