19 lines
436 B (Stored with Git LFS)
C#
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;
|
|
}
|
|
} |