Exemple #1
0
 void Awake()
 {
     inputManager = this.gameObject.GetComponent<CharacterInputManager> ();
 }
Exemple #2
0
 // Use this for initialization
 void Awake()
 {
     character = this.gameObject.GetComponent<BaseCharacter> ();
     playerStates = this.gameObject.GetComponent<PlayerStates> ();
     inputManager = this.gameObject.GetComponent<CharacterInputManager> ();
 }