mirror of
https://github.com/mob-sakai/UIEffect.git
synced 2026-11-19 17:22:37 +08:00
fix: built-in presets cannot be used with UIEffectReplica
This commit is contained in:
@@ -48,7 +48,7 @@ namespace Coffee.UIEffects.Editors
|
||||
r.width = 60;
|
||||
if (GUI.Button(r, EditorGUIUtility.TrTempContent("Preset"), "MiniPopup"))
|
||||
{
|
||||
UIEffectEditor.DropDownPreset(r, x => !x.builtin, p =>
|
||||
UIEffectEditor.DropDownPreset(r, null, p =>
|
||||
{
|
||||
_target.objectReferenceValue = null;
|
||||
_preset.objectReferenceValue = p;
|
||||
|
||||
Reference in New Issue
Block a user