public void AttackCheck() { if (currentState != SlimeState.ATTACK) { return; } CharacterStat targetStat = playerCC.GetComponent <CharacterStat>(); targetStat.ApplyDamage(stat); }
public void AttackCheck() { CharacterStat targetStat = PlayerCc.GetComponent <CharacterStat>(); targetStat.ApplyDamage(stat); }