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

10 lines
182 B
C#

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