generated from ShadowMario/FNF-PsychEngine
-
Notifications
You must be signed in to change notification settings - Fork 11
ToastCore
Joalor64 edited this page Feb 16, 2023
·
1 revision
ToastCore is basically used for when you want to make an error/warning message appear.
It's actually incredibly simple.
Example:
case 'mods':
if (ModCore.trackedMods != [])
MusicBeatState.switchState(new ModsMenuState());
else
Main.toast.create('No Mods Installed!', 0xFFFFFF00, 'Please add mods to be able to access the menu!');
If you want to use it, simply copy-and-paste this text:
Main.toast.create('Title', 0xFFFFFF00, 'Description');