Beispiel #1
0
 private void Awake()
 {
     _thirdPersonUserControl = GetComponent <ThirdPersonUserControl>();
     _thirdPersonAnimation   = GetComponent <ThirdPersonAnimation>();
     _weaponMono             = GetComponent <WeaponMono>();
     _powerUpInventory       = GetComponent <PowerUpInventory>();
     _rigidbody = GetComponent <Rigidbody>();
 }
 private void Awake()
 {
     _animator               = GetComponent <Animator>();
     _weaponMono             = GetComponent <WeaponMono>();
     _characterMono          = GetComponent <CharacterMono>();
     _capsuleCollider        = GetComponent <CapsuleCollider>();
     _rigidbody              = GetComponent <Rigidbody>();
     _thirdPersonCharacter   = GetComponent <ThirdPersonCharacter>();
     _thirdPersonUserControl = GetComponent <ThirdPersonUserControl>();
 }