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