Files
test/Assets/EditorAttributes/Runtime/Scripts/Attributes/MiscellaneousAttributes/HideInPlayModeAttribute.cs
T

20 lines
412 B
C#

using UnityEngine;
namespace EditorAttributes
{
/// <summary>
/// Attribute to hide a field when entering play mode
/// </summary>
public class HideInPlayModeAttribute : PropertyAttribute
{
/// <summary>
/// Attribute to hide a field when entering play mode
/// </summary>
public HideInPlayModeAttribute()
#if UNITY_2023_3_OR_NEWER
: base(true)
#endif
{ }
}
}