Class ScriptableSettingsProvider<T>
Expose a ScriptableSettings<T> object as a settings provider.
Inherited Members
SettingsProvider.PopulateSearchKeywordsFromGUIContentProperties<T>()
SettingsProvider.GetSearchKeywordsFromGUIContentProperties<T>()
Namespace: Unity.XR.CoreUtils.Editor
Assembly: solution.dll
Syntax
public abstract class ScriptableSettingsProvider<T> : SettingsProvider where T : ScriptableSettingsBase<T>
Type Parameters
Name | Description |
---|---|
T | The ScriptableSettings type to be exposed. |
Constructors
Name | Description |
---|---|
ScriptableSettingsProvider(string, SettingsScope) | Initialize a new ScriptableSettingsProvider. |
Properties
Name | Description |
---|---|
SerializedObject | A SerializedObject representing the ScriptableSettings being provided. |
Target | The ScriptableSettings being provided. |
Methods
Name | Description |
---|---|
OnActivate(string, VisualElement) | Use this function to implement a handler for when the user clicks on the Settings in the Settings window. You can fetch a settings Asset or set up UIElements UI from this function. |
OnGUI(string) | Use this function to draw the UI based on IMGUI. This assumes you haven't added any children to the rootElement passed to the OnActivate function. |