public void OnPlayerEnter(IDamageReceiver damageReceiver) { currentState = EnemyState.Wait; fixedTime = Time.unscaledTime + timeStop; damageReceiver.AddDamage(0); }
public void OnPlayerEnter(IDamageReceiver damageReceiver) { currentState = EnemyState.Wait; fixedTime = Time.unscaledTime + timeStop; damageReceiver.AddDamage(0); }