mirror of
https://github.com/mob-sakai/UIEffect.git
synced 2026-11-19 17:22:37 +08:00
fix: unable to add editor presets as runtime presets to project settings
close #330
This commit is contained in:
@@ -48,7 +48,7 @@ namespace Coffee.UIEffects.Editors
|
||||
_reorderableList.onAddDropdownCallback = (rect, list) =>
|
||||
{
|
||||
UIEffectEditor.DropDownPreset(rect,
|
||||
x => !x.builtin && !UIEffectProjectSettings.instance.m_RuntimePresets.Contains(x.preset),
|
||||
x => !UIEffectProjectSettings.instance.m_RuntimePresetsV2.Contains(x.preset),
|
||||
UIEffectProjectSettings.RegisterRuntimePreset);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user