Version 3.0.0.2

ModuleDefinition class

Namespace: Sirenix.OdinInspector.Editor.Modules
Assembly: Sirenix.OdinInspector.Editor
public abstract class ModuleDefinition
Inheritance
  • System.Object
  • ModuleDefinition

Constructors

ModuleDefinition()
protected ModuleDefinition()

Fields

ModuleManager
public ModuleManager ModuleManager

Properties

BuildFromPath
public abstract string BuildFromPath { get; }
DependenciesDescription
public virtual string DependenciesDescription { get; }
Description
public abstract string Description { get; }
DocumentationLink
public virtual string DocumentationLink { get; }
ID
public abstract string ID { get; }
LatestVersion
public abstract Version LatestVersion { get; }
NiceName
public abstract string NiceName { get; }
StatusStyle
public static GUIStyle StatusStyle { get; }
TitleStyle
public static GUIStyle TitleStyle { get; }

Methods

Activate()
public virtual void Activate()
CheckIsActivated()
public virtual bool CheckIsActivated()
Returns
System.Boolean

CheckSupportsCurrentEnvironment()
public abstract bool CheckSupportsCurrentEnvironment()
Returns
System.Boolean

Deactivate()
public virtual void Deactivate()
DeleteIfEmpty(DirectoryInfo)
protected static void DeleteIfEmpty(DirectoryInfo dir)
Parameters
System.IO.DirectoryInfo dir

DrawActivationButtons()
[OnInspectorGUI]
[PropertyOrder(5F)]
protected virtual void DrawActivationButtons()
DrawDescription()
[OnInspectorGUI]
[PropertyOrder(-5F)]
protected virtual void DrawDescription()
DrawTitle()
[OnInspectorGUI]
[PropertyOrder(-10F)]
protected virtual void DrawTitle()
GetModuleDataForPackaging()
public virtual ModuleData GetModuleDataForPackaging()
Returns
ModuleData

LoadManifest()
public virtual ModuleManifest LoadManifest()
Returns
ModuleManifest

OnAfterActivate()
protected virtual void OnAfterActivate()
OnAfterDeactivate()
protected virtual void OnAfterDeactivate()
OnBeforeActivate()
protected virtual void OnBeforeActivate()
OnBeforeDeactivate()
protected virtual void OnBeforeDeactivate()
OnSelectedInInspector()
public virtual void OnSelectedInInspector()