继续重构调整(UI)

- 引入 UniTask 和异步版本的 UIModule
- 调整 Runtime/UIBase 和 Presentation 下的脚本命名空间到 SepCore.UI
- 将原来的 5 层 UI 迁移到异步实现
- 规范各层的 UI 脚本命名
This commit is contained in:
SepComet
2026-06-03 09:58:37 +08:00
parent 6b8a6a8789
commit 7bba8bbb80
552 changed files with 83648 additions and 2726 deletions
@@ -2,7 +2,7 @@ using SepCore.Definition;
using UnityEngine;
using UnityEngine.UI;
namespace UI
namespace SepCore.UI
{
public class IconArea : MonoBehaviour
{
@@ -2,7 +2,7 @@ using SepCore.Event;
using UnityEngine;
using UnityEngine.UI;
namespace UI
namespace SepCore.UI
{
public class RoleItem : MonoBehaviour
{
@@ -29,12 +29,12 @@ namespace UI
public void UpdateShowRole()
{
int roleId = _context?.RoleId ?? -1;
GameEntry.Event.Fire(this, MenuSelectRoleSelectedEventArgs.Create(roleId));
GameEntry.Event.Fire(this, SelectRoleHoverEventArgs.Create(roleId));
}
public void OnConfirmRoleClick()
{
GameEntry.Event.Fire(this, MenuSelectRoleConfirmEventArgs.Create());
GameEntry.Event.Fire(this, SelectRoleConfirmEventArgs.Create());
}
}
}
@@ -2,7 +2,7 @@ using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace UI
namespace SepCore.UI
{
public class RolePropertyArea : MonoBehaviour
{
@@ -1,7 +1,7 @@
using UnityEngine;
using UnityEngine.UI;
namespace UI
namespace SepCore.UI
{
public class UpdateResourceForm : MonoBehaviour
{