Class PluginConfiguration
  
  
  
  
    Inheritance
    
    PluginConfiguration
   
      
      
      
      
  Namespace: Ludiq
  
  Syntax
  
    public class PluginConfiguration : IPluginModule, IPluginAddon, IEnumerable<PluginConfigurationItemAccessor>, IEnumerable
   
  Constructors
  
  
  
  
  PluginConfiguration(Plugin)
  
  
  Declaration
  
    protected PluginConfiguration(Plugin plugin)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Plugin | 
        plugin | 
         | 
      
    
  
  Properties
  
  
  
  
  accessor
  
  
  Declaration
  
    public Accessor accessor { get; }
   
  Property Value
  
  
  
  
  developerMode
  
  
  Declaration
  
    protected bool developerMode { get; }
   
  Property Value
  
  
  
  
  editor
  
  
  Declaration
  
    public Editor editor { 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
  
  
  
  
  Item[SettingsScope]
  
  
  Declaration
  
    public IEnumerable<PluginConfigurationItemAccessor> this[SettingsScope scope] { get; }
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SettingsScope | 
        scope | 
         | 
      
    
  
  Property Value
  
  
  
  
  label
  
  
  Declaration
  
    public virtual string label { 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
  
  
  
  
  CreateSettingsProvider(SettingsScope)
  
  
  Declaration
  
    public SettingsProvider CreateSettingsProvider(SettingsScope scope)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SettingsScope | 
        scope | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | SettingsProvider | 
         | 
      
    
  
  
  
  
  DeleteAllEditorPrefs()
  
  
  Declaration
  
    public static void DeleteAllEditorPrefs()
   
  
  
  
  DeleteAllPlayerPrefs()
  
  
  Declaration
  
    public static void DeleteAllPlayerPrefs()
   
  
  
  
  DeleteAllProjectSettings()
  
  
  Declaration
  
    public static void DeleteAllProjectSettings()
   
  
  
  
  GetAccessor(String)
  
  
  Declaration
  
    public PluginConfigurationItemAccessor GetAccessor(string memberName)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | String | 
        memberName | 
         | 
      
    
  
  Returns
  
  
  
  
  GetEnumerator()
  
  
  Declaration
  
    public IEnumerator<PluginConfigurationItemAccessor> GetEnumerator()
   
  Returns
  
  
  
  
  Initialize()
  
  
  Declaration
  
    public virtual void Initialize()
   
  Implements
      
  
  
  
  LateInitialize()
  
  
  Declaration
  
    public virtual void LateInitialize()
   
  Implements
      
  
  
  
  OnGUI(SettingsScope, String)
  
  
  Declaration
  
    public void OnGUI(SettingsScope scope, string query)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SettingsScope | 
        scope | 
         | 
      
      
        | String | 
        query | 
         | 
      
    
  
  
  
  
  Reset()
  
  
  Declaration
  
  
  
  
  Save()
  
  
  Declaration
  
  
  
  
  SaveProjectSettingsAsset()
  
  
  Declaration
  
    public void SaveProjectSettingsAsset()
   
  Extension Methods