Skip to content

DefaultConfigSettingsProvider

Namespace: SideXP.Core.EditorOnly

public abstract class DefaultConfigSettingsProvider

Generate menus to edit a specific asset type by drawing its default inspector.

Methods

MakeSettingsProvider(object, string, SettingsScope, string[])

protected static SettingsProvider MakeSettingsProvider(object settingsAsset, string menu, SettingsScope scope, string[] keywords = null)

Creates a SettingsProvider instance from

Parameters

  • settingsAsset: The asset that contains the settings to display.
  • menu: The menu from which these settings can be edited, relative to the appropriate window depending on the scope.
  • scope: Defines when the settings are displayed.
  • keywords: The keywords to search for these settings to be filtered.

Returns

Returns the created SettingsProvider.