T_MSCLoader_Mod_Setup - piotrulos/MSCModLoader GitHub Wiki
Type of Function to setup
Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.3.1.346
C#
public enum Setup
View Source
OnNewGame | 0 | OnNewGame - Called once when new game (not continue old save) is started |
OnMenuLoad | 1 | OnMenuLoad - Setup function that is executed once in MainMenu |
PreLoad | 2 | PreLoad - Phase 1 of mod loading (executed once after GAME scene is loaded) |
OnLoad | 3 | OnLoad - Phase 2 of mod loading (executed once GAME scene is fully loaded) |
PostLoad | 4 | PostLoad - Phase 3 of mod loading (executed once after all mods finished with Phase 2) |
OnSave | 5 | OnSave - Executed once after game is being saved. |
OnGUI | 6 | OnGUI - Works same way as unity OnGUI |
Update | 7 | Update - Works same way as unity Update |
FixedUpdate | 8 | FixedUpdate - Works same way as unity FixedUpdate |
OnModEnabled | 9 | OnModEnabled - Called once when mod has been enabled in settings |
OnModDisabled | 10 | OnModDisabled - Called once when mod has been disabled in settings |
ModSettingsLoaded | 11 | ModSettingsLoaded - Called after saved settings have been loaded from file. |
ModSettings | 12 | ModSettings - All settings and Keybinds should be created here. |