public void SaveSettings() { EffectSettings?.Save(); if (!EffectEnabled) return; // Restart the effect if it's currently running to apply settings. MainManager.EffectManager.ChangeEffect(EffectModel); }