Tri-Inspector/Runtime/Attributes/ShowInPlayModeAttribute.cs

15 lines
371 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 ShowInPlayModeAttribute : HideInPlayModeAttribute
{
2022-08-03 04:18:28 -04:00
public ShowInPlayModeAttribute()
{
Inverse = true;
}
}
}