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