Beispiel #1
0
 void Awake()
 {
     characterRB    = GetComponent <Rigidbody>();
     characterInput = GetComponent <CharacterInput>();
 }
Beispiel #2
0
 protected override void Awake()
 {
     base.Awake();
     theCharacterInput      = GetComponent <CharacterInput>();
     theCharacterController = GetComponent <CharacterController>();
 }