Tri-Inspector/Editor.Samples/Conditionals/Conditionals_DisableIfSample.cs

10 lines
188 B
C#
Raw Normal View History

using TriInspector;
using UnityEngine;
public class Conditionals_DisableIfSample : ScriptableObject
{
public bool visible;
[DisableIf(nameof(visible))]
public float val;
}