Tri-Inspector/Runtime/Attributes/EnableInEditModeAttribute.cs
2022-08-03 11:38:52 +03:00

15 lines
378 B
C#

using System;
using System.Diagnostics;
namespace TriInspector
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method)]
[Conditional("UNITY_EDITOR")]
public class EnableInEditModeAttribute : DisableInEditModeAttribute
{
public EnableInEditModeAttribute()
{
Inverse = true;
}
}
}