Class AssetRefEditor
Default implementation of the inspector used to edit reference to the Asset.
Inheritance
System.Object
FlaxEditor.CustomEditors.CustomEditor
AssetRefEditor
Namespace: FlaxEditor.CustomEditors.Editors
Assembly: FlaxEngine.CSharp.dll
Syntax
[CustomEditor]
[DefaultEditor]
public class AssetRefEditor : CustomEditor
Remarks
Supports editing reference to the asset using various containers: Asset or FlaxEditor.Content.AssetItem or System.Guid.
Constructors
AssetRefEditor()
Declaration
public AssetRefEditor()
Fields
Picker
The asset picker used to get a reference to an asset.
Declaration
public AssetPicker Picker
Field Value
FlaxEditor.GUI.AssetPicker
|
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)
Refresh()
Declaration
public override void Refresh()
Overrides
FlaxEditor.CustomEditors.CustomEditor.Refresh()