Search Results for

    Show / Hide Table of Contents

    Class ObjectSwitcherEditor

    Base implementation of the inspector used to edit properties of the given abstract or interface type that contain a setter to assign a derived implementation type.

    Inheritance
    System.Object
    FlaxEditor.CustomEditors.CustomEditor
    ObjectSwitcherEditor
    IBrushEditor
    Namespace: FlaxEditor.CustomEditors.Editors
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public abstract class ObjectSwitcherEditor : CustomEditor

    Constructors

    ObjectSwitcherEditor()

    Declaration
    protected ObjectSwitcherEditor()

    Properties

    Options

    Gets the options collection for the property value assignment.

    Declaration
    protected abstract ObjectSwitcherEditor.OptionType[] Options { get; }
    Property Value
    ObjectSwitcherEditor.OptionType[]

    TypeComboBoxName

    Gets the name of the type ComboBox property name for the object type picking.

    Declaration
    protected virtual string TypeComboBoxName { get; }
    Property Value
    System.String

    Methods

    Initialize(LayoutElementsContainer)

    Declaration
    public override void Initialize(LayoutElementsContainer layout)
    Parameters
    FlaxEditor.CustomEditors.LayoutElementsContainer layout

    Overrides
    FlaxEditor.CustomEditors.CustomEditor.Initialize(FlaxEditor.CustomEditors.LayoutElementsContainer)

    Refresh()

    Declaration
    public override void Refresh()
    Overrides
    FlaxEditor.CustomEditors.CustomEditor.Refresh()

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat