Search Results for

    Show / Hide Table of Contents

    Class ContentFindingModule

    The content finding module.

    Inheritance
    System.Object
    FlaxEditor.Modules.EditorModule
    ContentFindingModule
    Namespace: FlaxEditor.Modules
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public class ContentFindingModule : EditorModule

    Fields

    Aliases

    The aliases to match the given type to its name.

    Declaration
    public static readonly Dictionary<string, string> Aliases
    Field Value
    System.Collections.Generic.Dictionary<System.String, System.String>

    Methods

    AddQuickAction(String, Action)

    Adds action to quick action list.

    Declaration
    public void AddQuickAction(string name, Action action)
    Parameters
    System.String name

    The action's name.

    System.Action action

    The actual action callback.

    OnExit()

    Declaration
    public override void OnExit()
    Overrides
    FlaxEditor.Modules.EditorModule.OnExit()

    RemoveQuickAction(String)

    Removes a quick action by name.

    Declaration
    public bool RemoveQuickAction(string name)
    Parameters
    System.String name

    The action's name.

    Returns
    System.Boolean

    True when it succeeds, false if there is no Quick Action with this name.

    Search(String)

    Searches any assets/scripts/quick actions that match the provided type and name.

    Declaration
    public List<SearchResult> Search(string charsToFind)
    Parameters
    System.String charsToFind

    Two pattern can be used, the first one will just take a string without ':' and will only match names. The second looks like this "name:type", it will match name and type. Experimental : You can use regular expressions, might break if you are using ':' character.

    Returns
    System.Collections.Generic.List<FlaxEditor.Modules.SearchResult>

    The results list.

    ShowFinder(Control)

    Shows the content finder popup.

    Declaration
    public void ShowFinder(Control control)
    Parameters
    Control control

    The target control to show finder over it.

    ShowSearch()

    Shows the content search window.

    Declaration
    public void ShowSearch()

    ShowSearch(DockWindow, String)

    Shows the content search window.

    Declaration
    public void ShowSearch(DockWindow window, string query = null)
    Parameters
    DockWindow window

    The target window to show search next to it.

    System.String query

    The initial query for the search.

    ShowSearch(Control, String)

    Shows the content search window.

    Declaration
    public void ShowSearch(Control control, string query = null)
    Parameters
    Control control

    The target control to show search for it.

    System.String query

    The initial query for the search.

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat