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

15 lines
371 B
C#

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