-
-
Notifications
You must be signed in to change notification settings - Fork 55
M_MSCLoader_Settings_AddButton_1
piotrulos edited this page Apr 7, 2023
·
4 revisions
Add button that can execute function.
Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.2.11.286
C#
public static void AddButton(
<a href="T_MSCLoader_Mod">Mod</a> mod,
string name,
Action onClick,
Color btnColor,
Color buttonTextColor
)
- mod
- Type: MSCLoader.Mod
your mod - name
- Type: System.String
Text on the button - onClick
- Type: System.Action
What to do when button is clicked - btnColor
- Type: Color
Button background color - buttonTextColor
- Type: Color
Button text color
- 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