Tri-Inspector/Runtime/Attributes/PropertyOrderAttribute.cs
2023-03-12 11:38:39 +04:00

17 lines
398 B
C#

using System;
using System.Diagnostics;
namespace TriInspector
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method)]
[Conditional("UNITY_EDITOR")]
public class PropertyOrderAttribute : Attribute
{
public int Order { get; }
public PropertyOrderAttribute(int order)
{
Order = order;
}
}
}