BS 0.2.0 UI控件同步 / EP Unity.1 Diagram版本下的附属增强提案

This commit is contained in:
2025-07-23 15:22:18 +08:00
parent d0e5420f95
commit 86842492ea
30 changed files with 1471 additions and 96 deletions

View File

@@ -9,14 +9,13 @@ namespace Convention.WindowsUI.Variant
{
[Resources] public WindowManager windowManager;
[Resources, SerializeField] private PropertiesWindow m_PropertiesWindow;
private RegisterWrapper<HierarchyWindow> m_RegisterWrapper;
private Dictionary<int, object> AllReferenceLinker = new();
private Dictionary<object, int> AllReferenceLinker_R = new();
private Dictionary<object, HierarchyItem> AllReferenceItemLinker = new();
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Լ<EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD><EFBFBD>tab
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Լ<EFBFBD><D4BC><EFBFBD>Ӧ<EFBFBD><D3A6>tab
/// </summary>
/// <param name="reference"></param>
/// <param name="item"></param>
@@ -97,7 +96,7 @@ namespace Convention.WindowsUI.Variant
private void Start()
{
m_RegisterWrapper = new(() => { });
Architecture.RegisterWithDuplicateAllow(typeof(HierarchyWindow), this, () => { });
}
private void Reset()
@@ -106,10 +105,6 @@ namespace Convention.WindowsUI.Variant
m_PropertiesWindow = GetComponent<PropertiesWindow>();
AllReferenceLinker = new();
}
private void OnDestroy()
{
m_RegisterWrapper.Release();
}
public void RenameTabWhenItFocus()
{