EpigraphNode.cs 733 B

12345678910111213141516171819202122232425262728293031
  1. using FL.Nodes.Epigraph;
  2. using XGame.Framework.Data;
  3. using XGame.Framework.Nodes;
  4. namespace FL.Nodes
  5. {
  6. public static partial class NodeKeys
  7. {
  8. private static NodeKey _Epigraph;
  9. public static NodeKey Epigraph => _Epigraph ??= new NodeKey("Epigraph", (uint)NodeGroupDefine.GameMain, typeof(EpigraphNode));
  10. }
  11. public class EpigraphNode : Node
  12. {
  13. protected override void OnDispose()
  14. {
  15. }
  16. protected override void OnInited()
  17. {
  18. }
  19. protected override void AddComponent(INodeComponentGroup group)
  20. {
  21. group.Add(new UIComponent());
  22. }
  23. protected override void AddData(IDataGroup dataGroup)
  24. {
  25. }
  26. }
  27. }