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