From 2262538946a6913349b4c9f7f0c8bfcddad272fe Mon Sep 17 00:00:00 2001 From: lrc <571244399@qq.com> Date: Fri, 30 Oct 2026 13:11:55 +0800 Subject: [PATCH] =?UTF-8?q?docs(BubbleLayout):=20=E6=89=A9=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B=E6=94=B9=E8=B5=B0=20XericRegistrationPaths?= =?UTF-8?q?=EF=BC=8C=E4=B8=8D=E5=86=8D=E6=95=99=E6=97=A7=E6=A0=B9=20Xeric?= =?UTF-8?q?=20UI=20Vessel/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit README 里两段自定义气泡插件的示例还写着迁移前的 AddComponentMenu 字面量根;照现在 的规矩,路径出处只在表里一处,示例也该指到族常量。 --- Runtime/BubbleLayout/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Runtime/BubbleLayout/README.md b/Runtime/BubbleLayout/README.md index 8862fc6..4c60683 100644 --- a/Runtime/BubbleLayout/README.md +++ b/Runtime/BubbleLayout/README.md @@ -74,8 +74,9 @@ SyncItemList → 动画插件(按Order) → 物理积分 → 约束插件(按Ord using System.Collections.Generic; using UnityEngine; using XericUI.BubbleLayout; +using XericUI.Core; -[AddComponentMenu("Xeric UI Vessel/Layout/My Animation Plugin", 60)] +[AddComponentMenu(XericRegistrationPaths.Layout + "/My Animation Plugin", 60)] public class MyAnimationPlugin : MonoBehaviour, IBubbleAnimationPlugin { // ── 必须实现:Enabled 和 Order ── @@ -120,8 +121,9 @@ public class MyAnimationPlugin : MonoBehaviour, IBubbleAnimationPlugin using System.Collections.Generic; using UnityEngine; using XericUI.BubbleLayout; +using XericUI.Core; -[AddComponentMenu("Xeric UI Vessel/Layout/My Constraint Plugin", 61)] +[AddComponentMenu(XericRegistrationPaths.Layout + "/My Constraint Plugin", 61)] public class MyConstraintPlugin : MonoBehaviour, IBubbleConstraintPlugin { [SerializeField] private bool m_Enabled = true;