2023-03-29 16:43:06 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace DCFApixels.DragonECS
|
|
|
|
|
{
|
2023-06-10 02:12:22 +08:00
|
|
|
|
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
|
2023-05-07 00:50:23 +08:00
|
|
|
|
public sealed class EcsInjectAttribute : Attribute
|
2023-03-29 16:43:06 +08:00
|
|
|
|
{
|
2023-04-05 09:14:42 +08:00
|
|
|
|
public readonly Type notNullDummyType;
|
2023-03-29 16:43:06 +08:00
|
|
|
|
|
2023-05-07 00:50:23 +08:00
|
|
|
|
public EcsInjectAttribute(Type notNullDummyType = null)
|
2023-04-05 09:14:42 +08:00
|
|
|
|
{
|
|
|
|
|
this.notNullDummyType = notNullDummyType;
|
|
|
|
|
}
|
2023-03-29 16:43:06 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|