Class PluginConfiguration
Inheritance
PluginConfiguration
Syntax
public class PluginConfiguration : IPluginModule, IPluginLinked, IEnumerable<PluginConfigurationItemMetadata>, IEnumerable
Constructors
PluginConfiguration(Plugin)
Declaration
protected PluginConfiguration(Plugin plugin)
Parameters
Type |
Name |
Description |
Plugin |
plugin |
|
Fields
projectSettings
Declaration
public List<ProjectSettingMetadata> projectSettings
Field Value
Properties
deprecatedSavedVersionLoaders
Declaration
public ReadOnlyCollection<PluginDeprecatedSavedVersionLoader> deprecatedSavedVersionLoaders { get; }
Property Value
developerMode
Declaration
protected bool developerMode { get; }
Property Value
editorSetupCompleted
Whether the plugin was properly setup.
Declaration
[EditorPref(visibleCondition = "developerMode", resettable = false)]
public bool editorSetupCompleted { get; }
Property Value
Declaration
public virtual string header { get; }
Property Value
plugin
Declaration
public Plugin plugin { get; }
Property Value
Implements
projectSetupCompleted
Whether the plugin was properly setup.
Declaration
[ProjectSetting(visibleCondition = "developerMode", resettable = false)]
public bool projectSetupCompleted { get; }
Property Value
savedVersion
The last version to which the plugin successfully upgraded.
Declaration
[ProjectSetting(visibleCondition = "developerMode", resettable = false)]
public SemanticVersion savedVersion { get; }
Property Value
Methods
DeleteAllEditorPrefs()
Declaration
public static void DeleteAllEditorPrefs()
DeleteAllPlayerPrefs()
Declaration
public static void DeleteAllPlayerPrefs()
DeleteAllProjectSettings()
Declaration
public static void DeleteAllProjectSettings()
GetEnumerator()
Declaration
public IEnumerator<PluginConfigurationItemMetadata> GetEnumerator()
Returns
Declaration
public PluginConfigurationItemMetadata GetMetadata(string memberName)
Parameters
Type |
Name |
Description |
String |
memberName |
|
Returns
Initialize()
Declaration
public virtual void Initialize()
Implements
LateInitialize()
Declaration
public virtual void LateInitialize()
Implements
Reset()
Declaration
Save()
Declaration
SaveProjectSettingsAsset(Boolean)
Declaration
public void SaveProjectSettingsAsset(bool immediately = false)
Parameters
Type |
Name |
Description |
Boolean |
immediately |
|
Extension Methods