Class SettingsProvider
Inheritance
SettingsProvider
Assembly: UnityEditor.dll
Syntax
public class SettingsProvider
Constructors
|
Improve this Doc
View Source
SettingsProvider(String, SettingsScope, IEnumerable<String>)
Declaration
public SettingsProvider(string path, SettingsScope scopes = SettingsScope.Project, IEnumerable<string> keywords = null)
Parameters
Properties
|
Improve this Doc
View Source
activateHandler
Declaration
public Action<string, VisualElement> activateHandler { get; set; }
Property Value
|
Improve this Doc
View Source
deactivateHandler
Declaration
public Action deactivateHandler { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public Action footerBarGuiHandler { get; set; }
Property Value
|
Improve this Doc
View Source
guiHandler
Declaration
public Action<string> guiHandler { get; set; }
Property Value
|
Improve this Doc
View Source
hasSearchInterestHandler
Declaration
public Func<string, bool> hasSearchInterestHandler { get; set; }
Property Value
|
Improve this Doc
View Source
keywords
Declaration
public IEnumerable<string> keywords { get; set; }
Property Value
|
Improve this Doc
View Source
label
Declaration
public string label { get; set; }
Property Value
|
Improve this Doc
View Source
scope
Declaration
public SettingsScope scope { get; }
Property Value
|
Improve this Doc
View Source
scopes
Declaration
[ExcludeFromDocs]
public SettingsScopes scopes { get; set; }
Property Value
|
Improve this Doc
View Source
settingsPath
Declaration
public string settingsPath { get; }
Property Value
|
Improve this Doc
View Source
titleBarGuiHandler
Declaration
public Action titleBarGuiHandler { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
GetSearchKeywordsFromGUIContentProperties<T>()
Declaration
public static IEnumerable<string> GetSearchKeywordsFromGUIContentProperties<T>()
Returns
Type Parameters
|
Improve this Doc
View Source
GetSearchKeywordsFromPath(String)
Declaration
public static IEnumerable<string> GetSearchKeywordsFromPath(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
|
Improve this Doc
View Source
GetSearchKeywordsFromSerializedObject(SerializedObject)
Declaration
public static IEnumerable<string> GetSearchKeywordsFromSerializedObject(SerializedObject serializedObject)
Parameters
Returns
|
Improve this Doc
View Source
HasSearchInterest(String)
Declaration
public virtual bool HasSearchInterest(string searchContext)
Parameters
Type |
Name |
Description |
String |
searchContext |
|
Returns
|
Improve this Doc
View Source
OnActivate(String, VisualElement)
Declaration
public virtual void OnActivate(string searchContext, VisualElement rootElement)
Parameters
|
Improve this Doc
View Source
OnDeactivate()
Declaration
public virtual void OnDeactivate()
|
Improve this Doc
View Source
Declaration
public virtual void OnFooterBarGUI()
|
Improve this Doc
View Source
OnGUI(String)
Declaration
public virtual void OnGUI(string searchContext)
Parameters
Type |
Name |
Description |
String |
searchContext |
|
|
Improve this Doc
View Source
OnTitleBarGUI()
Declaration
public virtual void OnTitleBarGUI()
|
Improve this Doc
View Source
PopulateSearchKeywordsFromGUIContentProperties<T>()
Declaration
public void PopulateSearchKeywordsFromGUIContentProperties<T>()
Type Parameters
|
Improve this Doc
View Source
Repaint()
Declaration
Extension Methods