Tutorial Making Mod Menu for Unity based Games (OnGUI Method)

DVAツ

Solid & Active Platinian
Original poster
Dec 8, 2020
87
3,344
183
APK
Making Mod Menu for Unity-based Games (OnGUI Method)

This is a bunch of tutorials that I made for newbies.
These tutorials mainly have 5 parts.

Part 1 - How to mod an Android Game {Beginners Tutorial}
Part 2 - Creating a simple Mod menu for Android games //This tutorial
Part 3 - Advance mod menu template (Team LGL)
Part 4 - il2cpplib library modding
Part 5 - Lucky patcher for Bypass google play purchases.

This is a tutorial for newbies or new to modding.
Read this article carefully and watch the given video then You can understand it more easily.

TUTORIAL

Code :- Like this post to get the code
Hidden content
** You must be signed up and reply to the thread or click 'Like' under this post before you can see the hidden links contained here. **
So in unity-based (open dll) games, we can create this mod menu.
So in every game, there are some classes that run in the game from start to end.(When we open the game it starts and when closed it will shut down)
So in unity based games, these are some active classes!

Rich (BB code):
Audio Manager
UI Camera
UI root
UI Draw
System Audio
These can be case sensitive
Making Methods in Active class and add the Menu and Buttons.

1) So I'm going to add the menu in the Audio Manager class

1.png


3)Right-click the class and select "Create a method"

2.png


3) Then rename as "OnGUI"

3.png


4)Then after making the OnGUI Method right-click and select "Edit Method"

4.png


5)Remove this line

5.png


6) Then add these books and strings (All codes in this post)

6.png


7)Then add the code of the menu after the RID token

7.png


---------------Adding functions to the menu will be taught in the video above so you can watch the video to do it---------------

*You can edit the bools like this (Name)

edit1.png


edit2.png

So Hope you will understand the tutorial and enjoy this tutorial.
So you will understand better if you watch the video.

HAPPY MODDING!!
 
Last edited:

SIKROZ

Rookie
Jun 12, 2020
2
2
3
26
france
thx bro u are the best
 
  • Like
Reactions: Termagaira

Deewashrai77

Awesome Active Platinian
Jul 12, 2020
129
40
28
22
Tennessee
nice
 
  • Like
Reactions: Timer RP

jio2[w'

Rookie
Feb 9, 2021
3
0
1
57
Peral harbour
cool
 

クリーパー

Platinian
Sep 26, 2020
7
0
1
22
東京
okk
 

Blackmanwithagun

Platinian
Jun 10, 2020
23
0
3
28
Uk
p
 

Luigi666

Platinian
Apr 5, 2021
6
4
3
34
Italy
So, I state that I have no expertise in the matter, however I am following the procedure to try to mod match masters, I have no audio manager but I have sounds manager, I modified the file, but on dnspy I can not compile, as you can see from the photo GUI and other things gives me in red as errors and I don't know why.

ANEScXw.png
 

Luigi666

Platinian
Apr 5, 2021
6
4
3
34
Italy
I am doing some tests, I tried to change where to connect the mod menu, it reads me the gui now but not the string variables :@
pLrlSq6.png
 

Luigi666

Platinian
Apr 5, 2021
6
4
3
34
Italy
Ok I think I understand, I have not decompiled the mod menu and added to apk.
Maybe I need to do that first and decompile the app again with mod menu.
Now I try.
 

About us

  • Welcome to platinmods.com! We are proud to present you the place which let's dreams come true! Focusing on quality and trust we have spend much time to build a gaming community fitting to your wishes and needs. Actually we offer you the finest MODs and Games of the Android section and we slowly expand to the iOS section as well. But games, Android MODs & iOS MODs are not the only things we can offer you. We have tutorials, tools, a very friendly, active and solid community which will help you with any problem you have =) Your happiness is our goal. We hope you enjoy!

Forum statistics

Threads
47,025
Messages
1,379,720
Members
2,697,816
Latest member
Chakki