-
-
Notifications
You must be signed in to change notification settings - Fork 55
M_MSCLoader_ModUI_CreateMessageBoxBtn_1
piotrulos edited this page Apr 7, 2023
·
1 revision
Create Message Box Button for ShowCustomMessage(...);
Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.2.11.286
C#
public static <a href="T_MSCLoader_MsgBoxBtn">MsgBoxBtn</a> CreateMessageBoxBtn(
string ButtonText,
Action ifClicked,
Color32 BackgroundColor,
Color32 TextColor,
bool noClosing = false
)
- ButtonText
- Type: System.String
Text on the Button - ifClicked
- Type: System.Action
Action if button was clicked (leave null for just closing meesage box) - BackgroundColor
- Type: Color32
Button background color - TextColor
- Type: Color32
Text color - noClosing (Optional)
- Type: System.Boolean
Don't close MessageBox when action is triggered
Type: MsgBoxBtn
MsgBoxBtn
- 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