Esempio n. 1
0
 private void Awake()
 {
     puppymanager = GameObject.FindObjectOfType <PuppyManager>();
     zoneState    = GetComponent <ZoneState>();
     escapeState  = GetComponent <EscapeState>();
     kickedState  = GetComponent <KickedState>();
     initialState = GetComponent <KickedState>();
 }
Esempio n. 2
0
 private void Awake()
 {
     gameover     = GameObject.Find("GameOver");
     puppymanager = GameObject.FindObjectOfType <PuppyManager>();
     machine      = GetComponent <StateMachinePuppy>();
 }
Esempio n. 3
0
 // Start is called before the first frame update
 private void Awake()
 {
     puppymanager = GameObject.FindObjectOfType <PuppyManager>();
 }