12345678910111213141516171819202122232425262728293031 |
- using FL.Nodes.Item;
- using XGame.Framework.Data;
- using XGame.Framework.Nodes;
- namespace FL.Nodes
- {
- public static partial class NodeKeys
- {
- private static NodeKey _Item;
- public static NodeKey Item => _Item ??= new NodeKey("Item", (uint)NodeGroupDefine.Launch, typeof(ItemNode));
- }
- public class ItemNode : Node
- {
- protected override void OnDispose()
- {
- }
- protected override void OnInited()
- {
- }
- protected override void AddComponent(INodeComponentGroup group)
- {
- group.Add(new UIComponent());
- }
- protected override void AddData(IDataGroup dataGroup)
- {
- }
- }
- }
|