Class MelonMod
Inherited Members
Namespace: RedLoader
Assembly: RedLoader.dll
Syntax
[Obsolete("This class is deprecated, please use SonsMod instead.")]
public abstract class MelonMod : ModTypeBase<MelonMod>
Constructors
MelonMod()
Declaration
protected MelonMod()
Methods
OnSceneWasInitialized(int, string)
Runs once a Scene is initialized.
Declaration
public virtual void OnSceneWasInitialized(int buildIndex, string sceneName)
Parameters
Type | Name | Description |
---|---|---|
int | buildIndex | |
string | sceneName |
OnSceneWasLoaded(int, string)
Runs when a new Scene is loaded.
Declaration
public virtual void OnSceneWasLoaded(int buildIndex, string sceneName)
Parameters
Type | Name | Description |
---|---|---|
int | buildIndex | |
string | sceneName |
OnSceneWasUnloaded(int, string)
Runs once a Scene unloads.
Declaration
public virtual void OnSceneWasUnloaded(int buildIndex, string sceneName)
Parameters
Type | Name | Description |
---|---|---|
int | buildIndex | |
string | sceneName |