-
-
Notifications
You must be signed in to change notification settings - Fork 55
T_MSCLoader_Mod_Setup
piotrulos edited this page Apr 7, 2023
·
3 revisions
Type of Function to setup
Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.2.11.286
C#
public enum Setup
Member name | Value | Description | |
---|---|---|---|
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 habe been loaded from file. | |
ModSettings | 12 | ModSettings - All settings and Keybinds should be created here. |
- How to install MSCLoader using MSCPatcher
- MSCPatcher explained
- How to install mods
- Official experimental linux support
- Unofficial tutorial for linux (wine/proton)
- Install Visual Studio for MSCLoader
- Install template for Visual Studio
- How to use templates
- Debugging your mods in Visual Studio
- Enable DevMode to help with debugging
- Uploading and creating Self update feature for your mod or reference
- All Playmaker Global Variables and Events
- How to create and use Asset Bundles