コード例 #1
0
        // Use this for initialization
        void Start()
        {
            currentHealth  = maxHealth;
            currentStamina = maxStamina;

            motor = GetComponent <vThirdPersonController>();
        }
コード例 #2
0
ファイル: PlayerSword.cs プロジェクト: abdullahgulcur/Games
 void Start()
 {
     has   = GetComponent <HitAudioSource>();
     motor = player.GetComponent <Invector.CharacterController.vThirdPersonMotor>();
 }