private void Awake()
 {
     capsule       = GetComponent <CharacterCapsule>();
     mover         = GetComponent <CharacterMover>();
     collisionMask = capsule.CollisionMask;
 }
Esempio n. 2
0
 private void Awake()
 {
     collisionMask = gameObject.CollisionMask();
     capsule       = GetComponent <CharacterCapsule>();
     mover         = GetComponent <CharacterMover>();
 }