mirror of
https://github.com/DCFApixels/DragonECS-Unity.git
synced 2025-09-17 17:34:34 +08:00
Update UnityComponent.cs
This commit is contained in:
parent
b345fde97d
commit
f05767a795
@ -9,7 +9,6 @@ using UnityEngine.Scripting.APIUpdating;
|
|||||||
namespace DCFApixels.DragonECS
|
namespace DCFApixels.DragonECS
|
||||||
{
|
{
|
||||||
using static EcsConsts;
|
using static EcsConsts;
|
||||||
|
|
||||||
internal static class UnityComponentConsts
|
internal static class UnityComponentConsts
|
||||||
{
|
{
|
||||||
internal const string UNITY_COMPONENT_NAME = "UnityComponent";
|
internal const string UNITY_COMPONENT_NAME = "UnityComponent";
|
||||||
@ -44,13 +43,7 @@ namespace DCFApixels.DragonECS
|
|||||||
return $"UnityComponent<{typeof(T).ToMeta().TypeName}>";
|
return $"UnityComponent<{typeof(T).ToMeta().TypeName}>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
namespace DCFApixels.DragonECS.Unity.Generated
|
|
||||||
{
|
|
||||||
using static EcsConsts;
|
|
||||||
|
|
||||||
#region Unity Component Templates Base
|
|
||||||
[MetaColor(MetaColor.DragonCyan)]
|
[MetaColor(MetaColor.DragonCyan)]
|
||||||
[MetaGroup(EcsUnityConsts.PACK_GROUP, OTHER_GROUP)]
|
[MetaGroup(EcsUnityConsts.PACK_GROUP, OTHER_GROUP)]
|
||||||
[MetaDescription(AUTHOR, "Template for UnityComponent<T>")]
|
[MetaDescription(AUTHOR, "Template for UnityComponent<T>")]
|
||||||
@ -80,7 +73,11 @@ namespace DCFApixels.DragonECS.Unity.Generated
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
}
|
||||||
|
|
||||||
|
namespace DCFApixels.DragonECS.Unity.ComponentTemplates
|
||||||
|
{
|
||||||
|
using static EcsConsts;
|
||||||
|
|
||||||
#region Unity Component Templates
|
#region Unity Component Templates
|
||||||
[Serializable]
|
[Serializable]
|
||||||
|
Loading…
Reference in New Issue
Block a user