Ejemplo n.º 1
0
 void Awake()
 {
     playerData = GameObject.Find("Player").GetComponent<PlayerData>();
     gameStateData = this.gameObject.GetComponent<GameStateData>();
     gameStateLogic = this.gameObject.GetComponent<GameStateLogic>();
 }
Ejemplo n.º 2
0
 void Awake()
 {
     gameStateData = this.gameObject.GetComponent<GameStateData>();
 }