Kanda Foundation 0.2.0
Loading...
Searching...
No Matches
KandaSettingsProvider< T > Class Template Referenceabstract

A generic Unity SettingsProvider which can be used for exposing Kanda Settings in the Project Settings window. More...

+ Inheritance diagram for KandaSettingsProvider< T >:

Public Member Functions

override void OnActivate (string searchContext, VisualElement rootElement)
 
override void OnGUI (string searchContext)
 

Protected Member Functions

 KandaSettingsProvider (string tabName, string resourcesAssetPath, string info=null, IEnumerable< string > searchKeywords=null)
 Creates a new instance of a Kanda settings provider.
 

Protected Attributes

Settings
 

Detailed Description

A generic Unity SettingsProvider which can be used for exposing Kanda Settings in the Project Settings window.

Type Constraints
T :ScriptableObject 
T :IKandaSettings 

Constructor & Destructor Documentation

◆ KandaSettingsProvider()

KandaSettingsProvider ( string tabName,
string resourcesAssetPath,
string info = null,
IEnumerable< string > searchKeywords = null )
inlineprotected

Creates a new instance of a Kanda settings provider.

Parameters
tabNameThe name of the tab in Project Settings. Example: "MyTab".
resourcesAssetPathThe asset path to use when attempting to load settings asset from Resources.
infoAn information blob which is displayed at the top of the settings window. Example: "These are some very useful settings".
searchKeywordsA list of search keywords for this tab. Example: new [] { "Kanda", "MyTab" }

The documentation for this class was generated from the following file: