19 lines
558 B
C#
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;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|