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