public void ResetEffect() { if (CurrentEffect == null || CurrentTask == null) { return; } EffectBase currentEffect = CurrentEffect; currentEffect.StopEffect(); currentEffect.StartEffect(); }