Version 2.1.0.0

HideInPlayModeAttributeDrawer class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
[DrawerPriority(100, 0, 0)]
public sealed class HideInPlayModeAttributeDrawer : OdinAttributeDrawer<HideInPlayModeAttribute>
Draws properties marked with HideInPlayModeAttribute
Inheritance

Constructors

HideInPlayModeAttributeDrawer()
public HideInPlayModeAttributeDrawer()

Methods

DrawPropertyLayout(GUIContent)
Does not call the next drawer, when the editor is in play mode.
protected override void DrawPropertyLayout(GUIContent label)
Parameters
UnityEngine.GUIContent label

Extension Methods

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.