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

10 lines
186 B
C#
Raw Normal View History

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