// Update is called once per frame
        void FixedUpdate()
        {
            if (healthSystem.IsCharacterAlive())
            {
                ScanForMovementKeyDown();

                ScanForMouseDirection();
            }
        }
示例#2
0
 bool IsPlayerAlive()
 {
     return(healthSystem.IsCharacterAlive());
 }