using TriInspector.Processors; using TriInspector; using UnityEngine; [assembly: RegisterTriPropertyHideProcessor(typeof(HideInPlayModeProcessor))] namespace TriInspector.Processors { public class HideInPlayModeProcessor : TriPropertyHideProcessor { public override bool IsHidden(TriProperty property) { return Application.isPlaying != Attribute.Inverse; } } }