Class TypeSearchPopup
Popup that shows the list of types to pick. Supports searching and basic type filtering.
Inheritance
System.Object
FlaxEditor.GUI.ContextMenu.ContextMenuBase
TypeSearchPopup
Implements
System.IComparable
Namespace: FlaxEditor.GUI
Assembly: FlaxEngine.CSharp.dll
Syntax
public class TypeSearchPopup : ItemsListContextMenu, IComparable, IDrawable
Methods
OnDestroy()
Declaration
public override void OnDestroy()
Overrides
FlaxEditor.GUI.ContextMenu.ContextMenuBase.OnDestroy()
Show(Control, Float2, TypeSearchPopup.IsValidDelegate, Action<ScriptType>)
Shows the popup.
Declaration
public static TypeSearchPopup Show(Control showTarget, Float2 showTargetLocation, TypeSearchPopup.IsValidDelegate isValid, Action<ScriptType> selected)
Parameters
Control
showTarget
The show target. |
Float2
showTargetLocation
The show target location. |
TypeSearchPopup.IsValidDelegate
isValid
Event called to check if a given asset item is valid to be used. |
System.Action<FlaxEditor.Scripting.ScriptType>
selected
Event called on asset item pick. |
Returns
TypeSearchPopup
The dialog. |