Tri-Inspector/Runtime/Attributes/DisableInEditModeAttribute.cs

12 lines
323 B
C#
Raw Normal View History

using System;
using System.Diagnostics;
namespace TriInspector
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method)]
[Conditional("UNITY_EDITOR")]
2022-08-03 04:18:28 -04:00
public class DisableInEditModeAttribute : Attribute
{
2022-08-03 04:18:28 -04:00
public bool Inverse { get; protected set; }
}
}