Class EnumEditor
Default implementation of the inspector used to edit enum value type properties.
Inheritance
System.Object
FlaxEditor.CustomEditors.CustomEditor
EnumEditor
Namespace: FlaxEditor.CustomEditors.Editors
Assembly: FlaxEngine.CSharp.dll
Syntax
[CustomEditor]
[DefaultEditor]
public class EnumEditor : CustomEditor
Constructors
EnumEditor()
Declaration
public EnumEditor()
Fields
element
Properties
Style
Declaration
public override DisplayStyle Style { get; }
Property Value
FlaxEditor.CustomEditors.DisplayStyle
|
Overrides
FlaxEditor.CustomEditors.CustomEditor.Style
Methods
Initialize(LayoutElementsContainer)
Declaration
public override void Initialize(LayoutElementsContainer layout)
Parameters
FlaxEditor.CustomEditors.LayoutElementsContainer
layout
|
Overrides
FlaxEditor.CustomEditors.CustomEditor.Initialize(FlaxEditor.CustomEditors.LayoutElementsContainer)
OnValueChanged()
Called when value get changed. Allows to override default value setter logic.
Declaration
protected virtual void OnValueChanged()
Refresh()
Declaration
public override void Refresh()
Overrides
FlaxEditor.CustomEditors.CustomEditor.Refresh()