Not this Menu, it works with "using UnityEngine;", it's allready declared on his screenshotI don't work with this Menu, but normally you must declare ( using ) the Menu before you can call anything in it.
Which mean you must write " using TgmM; " or anything like that.
Maybe u should try to work with the menu, without renaming it, work with UnityModMenuAndroid: to learn how the menu works correctly.@DaRealPanDa, Thanks for the tip, I am going to try that now.
"<color=yellow>This mod apk file is provided by\n ### Tigress™ ###</color>"
if (YourModMenuName.toggle1)
{
if (GUI.Button(YourModMenuName.BtnRect(1, false), "Add 1000000 Gold: ON", YourModMenuName.OnStyle))
{
yourModMenuName.toggle1 = false;
}
}
else if (GUI.Button(YourModMenuName.BtnRect(1, false), "Add 1000000 Gold: OFF", YourModMenuName.OffStyle))
{
YourModMenuName.toggle1 = true;
I can get on/off and multi buttons to work but not where you push the button and it does the desired effect. here is the code AndnixSH has in the menu@Evilclown
should look like this....
Code:if (YourModMenuName.toggle1) { if (GUI.Button(YourModMenuName.BtnRect(1, false), "Add 1000000 Gold: ON", YourModMenuName.OnStyle)) { yourModMenuName.toggle1 = false; } } else if (GUI.Button(YourModMenuName.BtnRect(1, false), "Add 1000000 Gold: OFF", YourModMenuName.OffStyle)) { YourModMenuName.toggle1 = true;
Never mind about the screenshots, I just want to confirm something.@✟LiL-PEEP✟, thanks for the colour correction & explanation.
Please is there a way I could get screenshots of how you added all the codes to the class "not the active classes".
@✟LiL-PEEP✟, It works now. Thanks so much for your time!