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