예제 #1
0
        // Use this for initialization
        void Start()
        {
            currentHealth  = maxHealth;
            currentStamina = maxStamina;

            motor = GetComponent <vThirdPersonController>();
        }
예제 #2
0
 void Start()
 {
     has   = GetComponent <HitAudioSource>();
     motor = player.GetComponent <Invector.CharacterController.vThirdPersonMotor>();
 }