Files
BABA_YAGA/Assets/Scripts/Player/Generic/Attributes/vHideInInspectorAttribute.cs

19 lines
558 B
C#
Raw Permalink Normal View History

2026-05-30 09:16:35 +07:00
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;
}
}
}