public void Get_Hit(int amount)
        {
            is_invicible = true;
            anim_manager.Get_Hit();
            bool death = PublicVariables.Lose_Health(amount);

            if (death)
            {
                anim_manager.Die_Anim();
                //Disable Network Player
            }

            StartCoroutine(Reset_InvicibilityIE());
        }
Exemplo n.º 2
0
 public void Get_Hit(int damage)
 {
     anim_manager.Get_Hit();
     player_network.Get_HitRPC(damage);
 }