Class MixedRealitySearchUtility
Utility for retrieving a Unity object's serialized fields with a configurable search.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities.Editor.Search
Assembly: cs.temp.dll.dll
Syntax
public static class MixedRealitySearchUtility
Properties
Searching
True if a search is being executed. This must be false before calling StartProfileSearch.
Declaration
public static bool Searching { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
StartProfileSearch(UnityEngine.Object, SearchConfig, Action<Boolean, UnityEngine.Object, IReadOnlyCollection<ProfileSearchResult>>)
Starts a profile search. 'Searching' must be false or an exception will be thrown.
Declaration
public static void StartProfileSearch(UnityEngine.Object profile, SearchConfig config, Action<bool, UnityEngine.Object, IReadOnlyCollection<ProfileSearchResult>> onSearchComplete)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Object | profile | Profile object to search. |
SearchConfig | config | Configuration for the search. |
Action<Boolean, UnityEngine.Object, IReadOnlyCollection<ProfileSearchResult>> | onSearchComplete | Action to invoke once search is complete - delivers final results. |