Interface IPlugin
Interface for generic Illusion unity plugins. Every class that implements this will be loaded if the DLL is placed in Plugins.
Namespace: IPA.Old
Assembly: IPA.Loader.dll
Syntax
[Obsolete("When building plugins for Beat Saber, use IBeatSaberPlugin")]
public interface IPlugin
Properties
| Improve this Doc View SourceName
Gets the name of the plugin.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
String |
Version
Gets the version of the plugin.
Declaration
string Version { get; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceOnApplicationQuit()
Gets invoked when the application is closed.
Declaration
void OnApplicationQuit()
OnApplicationStart()
Gets invoked when the application is started.
Declaration
void OnApplicationStart()
OnFixedUpdate()
Gets invoked on ever physics update.
Declaration
void OnFixedUpdate()
OnLevelWasInitialized(Int32)
Gets invoked after the first update cycle after a level was loaded.
Declaration
void OnLevelWasInitialized(int level)
Parameters
Type | Name | Description |
---|---|---|
Int32 | level |
OnLevelWasLoaded(Int32)
Gets invoked whenever a level is loaded.
Declaration
void OnLevelWasLoaded(int level)
Parameters
Type | Name | Description |
---|---|---|
Int32 | level |
OnUpdate()
Gets invoked on every graphic update.
Declaration
void OnUpdate()