Class PluginConfiguration
Namespace: Unity.VisualScripting
Syntax
public class PluginConfiguration : IPluginModule, IPluginLinked, IEnumerable<PluginConfigurationItemMetadata>, IEnumerable
Constructors
PluginConfiguration(Plugin)
Declaration
protected PluginConfiguration(Plugin plugin)
Parameters
Type | Name | Description |
---|---|---|
Plugin | plugin |
Properties
deprecatedSavedVersionLoaders
Declaration
public ReadOnlyCollection<PluginDeprecatedSavedVersionLoader> deprecatedSavedVersionLoaders { get; }
Property Value
Type | Description |
---|---|
ReadOnlyCollection<PluginDeprecatedSavedVersionLoader> |
developerMode
Declaration
protected bool developerMode { get; }
Property Value
Type | Description |
---|---|
Boolean |
editorSetupCompleted
Whether the plugin was properly setup.
Declaration
[EditorPref(visibleCondition = "developerMode", resettable = false)]
public bool editorSetupCompleted { get; }
Property Value
Type | Description |
---|---|
Boolean |
header
Declaration
public virtual string header { get; }
Property Value
Type | Description |
---|---|
String |
plugin
Declaration
public Plugin plugin { get; }
Property Value
Type | Description |
---|---|
Plugin |
Implements
projectSetupCompleted
Whether the plugin was properly setup.
Declaration
[ProjectSetting(visibleCondition = "developerMode", resettable = false)]
public bool projectSetupCompleted { get; }
Property Value
Type | Description |
---|---|
Boolean |
savedVersion
The last version to which the plugin successfully upgraded.
Declaration
[ProjectSetting(visibleCondition = "developerMode", resettable = false)]
public SemanticVersion savedVersion { get; }
Property Value
Type | Description |
---|---|
SemanticVersion |
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
Type | Description |
---|---|
IEnumerator<PluginConfigurationItemMetadata> |
GetMetadata(String)
Declaration
public PluginConfigurationItemMetadata GetMetadata(string memberName)
Parameters
Type | Name | Description |
---|---|---|
String | memberName |
Returns
Type | Description |
---|---|
PluginConfigurationItemMetadata |
Initialize()
Declaration
public virtual void Initialize()
Implements
LateInitialize()
Declaration
public virtual void LateInitialize()
Implements
Reset()
Declaration
public void Reset()
Save()
Declaration
public void Save()
SaveProjectSettingsAsset()
Declaration
public void SaveProjectSettingsAsset()