Files
BABA_YAGA/Assets/Scripts/Player/Generic/Attributes/vHideInInspectorAttribute.cs
2026-06-04 10:42:23 +07:00

19 lines
558 B
C#

using UnityEngine;
using System;
namespace Invector
{
[AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = true)]
public class vHideInInspectorAttribute : PropertyAttribute
{
public bool hideProperty { get; set; }
public string refbooleanProperty;
public bool invertValue;
public vHideInInspectorAttribute(string refbooleanProperty, bool invertValue = false)
{
this.refbooleanProperty = refbooleanProperty;
this.invertValue = invertValue;
}
}
}