Exemplo n.º 1
0
 protected virtual void Awake()
 {
     _rb        = GetComponent <Rigidbody>();
     _animation = GetComponent <CharacterAnimation>();
 }
Exemplo n.º 2
0
 protected virtual void Awake()
 {
     Inventory  = GetComponent <CharacterInventory>();
     _weapon    = GetComponent <CharacterWeapon>();
     _animation = GetComponent <CharacterAnimation>();
 }