ProjectDDD/Assets/_Datas/SLShared/SLSystem/ComponentOrderAttribute.cs
2025-06-17 20:47:57 +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;
}
}