12345678910111213141516171819202122232425262728293031 |
- using FL.Nodes.Summon;
- using XGame.Framework.Data;
- using XGame.Framework.Nodes;
- namespace FL.Nodes
- {
- public static partial class NodeKeys
- {
- private static NodeKey _Summon;
- public static NodeKey Summon => _Summon ??= new NodeKey("Summon", (uint)NodeGroupDefine.Launch, typeof(SummonNode));
- }
- public class SummonNode : 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)
- {
- }
- }
- }
|