refactor(注册路径): 调用点收进 XericRegistrationPaths,46 个文件只动注册属性行

10-27 那笔把表的根定成 XericLibrary,但 58 处 AddComponentMenu、4 处 CreateAssetMenu
和若干 MenuItem/ContextMenu 还各自写着 "Xeric UI Vessel/…"、"Xeric/XChart/…" 三套
旧字面量;那批转换一直停在工程里没提交。本笔只收这 46 个"除注册属性外没有别的改动"
的文件,路径出处从此只在表里一处。

工作区里另外 3 个文件(XericImage 的角偏移、IVisibility 接口、XericInfiniteVesselBase
的 region/注释)混着功能改动,不在本笔;Editor/OverrideUI/XericImageEditor.cs 与
Runtime/OverrideUI/XericImageDeform.cs 两个未入库新文件也不在。
This commit is contained in:
2026-10-30 12:34:34 +08:00
parent 013147ea7d
commit 4e760d59d1
46 changed files with 127 additions and 76 deletions
+5 -1
View File
@@ -4,6 +4,10 @@ using UnityEngine;
using UnityEngine.Pool;
using UnityEngine.UI;
using XericLibrary.Runtime;
// using 必须在守卫**外**:下面 [AddComponentMenu(XericRegistrationPaths.Layout + …)] 的
// 参数在玩家编译也要算得出常量——它在 #if UNITY_EDITOR 里的话,编辑器那套照样绿、
// 只有玩家编译报 CS0103(2026-10-23 现场)
using XericUI.Core;
#if UNITY_EDITOR
using System.Diagnostics;
#endif
@@ -56,7 +60,7 @@ namespace XericUI.BubbleLayout
/// 支持动画插件和约束插件,插件按 Order 优先级分阶段顺序执行。
/// </summary>
[ExecuteAlways]
[AddComponentMenu("Xeric UI Vessel/Layout/Bubble Layout Group", 51)]
[AddComponentMenu(XericRegistrationPaths.Layout + "/Bubble Layout Group", 51)]
public class BubbleLayoutGroup : LayoutGroup
{
#region 序列化字段