CreateProviderFromResourcePath(string, string, IEnumerable<string>)
Create an AssetSettingsProvider from an asset resource path.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static AssetSettingsProvider CreateProviderFromResourcePath(string settingsWindowPath, string resourcePath, IEnumerable<string> keywords = null)
Parameters
Path of the settings in the Settings window. Uses "/" as separator. The last token becomes the settings label if none is provided.
Path of the resource on disk.
List of keywords to compare against what the user is searching for. When the user enters values in the search box on the Settings window, SettingsProvider.HasSearchInterest tries to match those keywords to this list.
Returns
Type | Description |
|---|---|
| AssetSettingsProvider | Returns an AssetSettingsProvider that will create an Editor for this particular asset. |