// Use this for initialization
        void Start()
        {
            currentHealth  = maxHealth;
            currentStamina = maxStamina;

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