From 1106f4bf4632e1372d44ced9a38e98209a6b55e8 Mon Sep 17 00:00:00 2001 From: mob-sakai <12690315+mob-sakai@users.noreply.github.com> Date: Thu, 17 Apr 2025 17:38:03 +0900 Subject: [PATCH] fix: built-in presets cannot be used with `UIEffectReplica` --- Packages/src/Editor/UIEffectReplicaEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/src/Editor/UIEffectReplicaEditor.cs b/Packages/src/Editor/UIEffectReplicaEditor.cs index 675a4b7..871f779 100644 --- a/Packages/src/Editor/UIEffectReplicaEditor.cs +++ b/Packages/src/Editor/UIEffectReplicaEditor.cs @@ -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;