コード例 #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);
 }
コード例 #2
0
 void Start()
 {
     nave = GameObject.Find("Nave");
     col  = nave.GetComponent <Colisiones>();
 }