using TriInspector.Processors; using TriInspector; using UnityEngine; [assembly: RegisterTriPropertyDisableProcessor(typeof(DisableInEditModeProcessor))] namespace TriInspector.Processors { public class DisableInEditModeProcessor : TriPropertyDisableProcessor { public override bool IsDisabled(TriProperty property) { return Application.isPlaying == Attribute.Inverse; } } }