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