This commit is contained in:
Mikhail 2024-10-12 14:48:13 +08:00
parent 9beed277b3
commit e34016a312
6 changed files with 11 additions and 0 deletions

View File

@ -31,6 +31,8 @@
public const string PROCESSES_GROUP = "Processes"; public const string PROCESSES_GROUP = "Processes";
public const string DEBUG_GROUP = "Debug"; public const string DEBUG_GROUP = "Debug";
public const string OTHER_GROUP = "Other"; public const string OTHER_GROUP = "Other";
public const string TEMPLATES_GROUP = "Templates";
public const string IMPLEMENTATIONS_GROUP = "Implementation";
public const string COMPONENTS_GROUP = "Components"; public const string COMPONENTS_GROUP = "Components";
public const string SYSTEMS_GROUP = "Systems"; public const string SYSTEMS_GROUP = "Systems";

View File

@ -76,6 +76,7 @@ namespace DCFApixels.DragonECS
[MetaColor(MetaColor.DragonRose)] [MetaColor(MetaColor.DragonRose)]
[MetaGroup(PACK_GROUP, DEBUG_GROUP)] [MetaGroup(PACK_GROUP, DEBUG_GROUP)]
[MetaDescription(AUTHOR, "Debugging utility. To modify or change the behavior, create a new class inherited from DebugService and set this service using DebugService.Set<T>().")] [MetaDescription(AUTHOR, "Debugging utility. To modify or change the behavior, create a new class inherited from DebugService and set this service using DebugService.Set<T>().")]
[MetaID("10A4587C92013B55820D8604D718A1C3")]
public static class EcsDebug public static class EcsDebug
{ {
public static void Set<T>() where T : DebugService, new() public static void Set<T>() where T : DebugService, new()

View File

@ -32,6 +32,7 @@ namespace DCFApixels.DragonECS
[MetaColor(MetaColor.DragonRose)] [MetaColor(MetaColor.DragonRose)]
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.DEBUG_GROUP)] [MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.DEBUG_GROUP)]
[MetaDescription(EcsConsts.AUTHOR, "Intended for extending meta information of types, for customization of type display in the editor. You can get it by using the object.GetMeta() or Type.ToMeta() extension method. Meta information is collected from meta attributes.")] [MetaDescription(EcsConsts.AUTHOR, "Intended for extending meta information of types, for customization of type display in the editor. You can get it by using the object.GetMeta() or Type.ToMeta() extension method. Meta information is collected from meta attributes.")]
[MetaID("248D587C9201EAEA881F27871B4D18A6")]
[DebuggerTypeProxy(typeof(DebuggerProxy))] [DebuggerTypeProxy(typeof(DebuggerProxy))]
public sealed class TypeMeta : ITypeMeta public sealed class TypeMeta : ITypeMeta
{ {

View File

@ -14,6 +14,7 @@ namespace DCFApixels.DragonECS
[MetaColor(MetaColor.DragonRose)] [MetaColor(MetaColor.DragonRose)]
[MetaGroup(PACK_GROUP, OTHER_GROUP)] [MetaGroup(PACK_GROUP, OTHER_GROUP)]
[MetaDescription(AUTHOR, "...")] [MetaDescription(AUTHOR, "...")]
[MetaID("FC38597C9201C15D1A14D133237BD67F")]
public interface IEcsDefaultAddParams public interface IEcsDefaultAddParams
{ {
AddParams AddParams { get; } AddParams AddParams { get; }

View File

@ -279,6 +279,7 @@ namespace DCFApixels.DragonECS
[MetaColor(MetaColor.Black)] [MetaColor(MetaColor.Black)]
[MetaGroup(PACK_GROUP, OTHER_GROUP)] [MetaGroup(PACK_GROUP, OTHER_GROUP)]
[MetaDescription(AUTHOR, "An auxiliary type of system for dividing a pipeline into layers. This system is automatically added to the EcsPipeline.")] [MetaDescription(AUTHOR, "An auxiliary type of system for dividing a pipeline into layers. This system is automatically added to the EcsPipeline.")]
[MetaID("42596C7C9201D0B85D1335E6E4704B57")]
public class SystemsLayerMarkerSystem : IEcsProcess public class SystemsLayerMarkerSystem : IEcsProcess
{ {
public readonly string name; public readonly string name;

View File

@ -3,10 +3,15 @@ using System.Runtime.Serialization;
namespace DCFApixels.DragonECS namespace DCFApixels.DragonECS
{ {
using static EcsConsts;
[Serializable] [Serializable]
[DataContract] [DataContract]
[MetaTags(MetaTags.HIDDEN)] [MetaTags(MetaTags.HIDDEN)]
[MetaDescription(AUTHOR, "...")]
[MetaGroup(PACK_GROUP, OTHER_GROUP)]
[MetaID("128D547C9201EEAC49B05F89E4A253DF")] [MetaID("128D547C9201EEAC49B05F89E4A253DF")]
[MetaColor(MetaColor.DragonRose)]
public class EcsPipelineTemplate : IEcsModule public class EcsPipelineTemplate : IEcsModule
{ {
[DataMember] public string[] layers; [DataMember] public string[] layers;