Exemplo n.º 1
0
 void Start()
 {
     score  = FindObjectOfType <scorekeeping> ();
     box    = FindObjectOfType <objectcontroller> ();
     player = FindObjectOfType <playercontroller>();
 }
Exemplo n.º 2
0
 void  Start()
 {
     dm     = FindObjectOfType <deathmenu> ();
     box    = FindObjectOfType <objectcontroller> ();
     player = FindObjectOfType <playercontroller>();
 }