Click or drag to resize
Mod Methods

The Mod type exposes the following members.

Methods
  NameDescription
Public methodOnLoad
Called when your mod is loaded. You can perform any initialization here, such as creating game objects to control your mod.
Public methodOnUnload
Called when your mod is unloaded. This occurs in two cases: The user unloads the mod or the game exits. Perform any clean-up work you need to here, such as saving configuration and reverting modifications to the game. If your mod is capable of reverting its changes at runtime, also set CanBeUnloaded to true to indicate that the mod can be unloaded by the user at runtime.
Public methodToString (Overrides ObjectToString.)
Top
See Also