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