private void PluginOnPluginDisabled(object sender, EventArgs e) { Plugin.PluginDisabled -= PluginOnPluginDisabled; if (IsInStore) { LayerEffectStore.Remove(this); } }
private void OnDisabled(object?sender, EventArgs e) { PluginFeature.Disabled -= OnDisabled; if (IsInStore) { LayerEffectStore.Remove(this); } }