public void NotifyDashState() { if (player != null) { if (isDashing) { eventEmitter.EmitPlayerDashStartedEvent(player); } else { eventEmitter.EmitPlayerDashStoppedEvent(player); } } }