mirror of
https://github.com/DCFApixels/DragonECS-AutoInjections.git
synced 2025-09-17 20:34:34 +08:00
17 lines
448 B
C#
17 lines
448 B
C#
using System;
|
|
|
|
namespace DCFApixels.DragonECS
|
|
{
|
|
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
|
|
public sealed class EcsInjectAttribute : Attribute
|
|
{
|
|
public readonly Type notNullDummyType;
|
|
|
|
public EcsInjectAttribute(Type notNullDummyType = null)
|
|
{
|
|
this.notNullDummyType = notNullDummyType;
|
|
}
|
|
}
|
|
}
|
|
|