ProjectDDD/Packages/SLSystem/ComponentOrderAttribute.cs
2025-06-25 11:33:17 +09:00

19 lines
436 B (Stored with Git LFS)
C#

using System;
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class ComponentOrderAttribute : Attribute
{
public int order;
public string methodOverride;
public ComponentOrderAttribute(int order)
{
this.order = order;
}
public ComponentOrderAttribute(string methodOverride, int order)
{
this.order = order;
this.methodOverride = methodOverride;
}
}