添加节点测试 UI 和商店节点(占位)

- TestMenuForm:节点测试 UI
- ShopNodeComponent:商店节点组件,只有 OnInit() 和 StartShop() 两个空方法
This commit is contained in:
SepComet
2026-02-28 16:28:37 +08:00
parent bee7ae381e
commit 9504c1ca18
22 changed files with 1186 additions and 7 deletions
@@ -23,6 +23,8 @@ public partial class GameEntry : MonoBehaviour
public static EventNodeComponent EventNode { get; private set; }
public static CombatNodeComponent CombatNode { get; private set; }
public static ShopNodeComponent ShopNode { get; private set; }
private static void InitCustomComponents()
{
@@ -31,5 +33,6 @@ public partial class GameEntry : MonoBehaviour
UIRouter = UnityGameFramework.Runtime.GameEntry.GetComponent<UIRouterComponent>();
EventNode = UnityGameFramework.Runtime.GameEntry.GetComponent<EventNodeComponent>();
CombatNode = UnityGameFramework.Runtime.GameEntry.GetComponent<CombatNodeComponent>();
ShopNode = UnityGameFramework.Runtime.GameEntry.GetComponent<ShopNodeComponent>();
}
}