1.7.0: Added option to display hidden fields for a class

This commit is contained in:
Anders Ejlersen 2022-07-23 22:56:43 +02:00
parent 9faacb6291
commit 070b82767f
12 changed files with 200 additions and 24 deletions

View file

@ -0,0 +1,16 @@
using System;
using UnityEngine;
namespace Module.Inspector
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class EnableShowHiddenFieldsAttribute : PropertyAttribute
{
public bool UseFieldProperty { get; }
public EnableShowHiddenFieldsAttribute(bool useFieldProperty = false)
{
UseFieldProperty = useFieldProperty;
}
}
}