Exemple #1
0
 // Use this for initialization
 void Start()
 {
     guanteverde = GameObject.FindWithTag("GameController").GetComponent <PickUpVerde>();
 }
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     Estadisticas = GameObject.FindWithTag("GameController").GetComponent <Stats>();
     guanteverde  = GameObject.FindWithTag("GameController").GetComponent <PickUpVerde>();
 }