@@ -32,9 +32,10 @@ public class UnityModMenuAndroid : MonoBehaviour
3232 // { 
3333 //	MyClassNameOfModMenu.OnGUI(); 
3434 // } 
35-  // For unity editor: public void OnGUI() 
36-  // For dnSpy: public static void OnGUI() 
37-  public  void  OnGUI ( ) 
35+ // !!! IMPORTANT !!! 
36+  // To edit in unity editor, please change this to: public void OnGUI() 
37+  // To add in the game using dnSpy, change back to: public static void OnGUI() 
38+  public  static void  OnGUI ( ) 
3839 { 
3940 // This is the bytes of .png image. 
4041 // There must be a if-statement to load image once to avoid memory leaking 
@@ -57,9 +58,10 @@ public void OnGUI()
5758 } 
5859 } 
5960
60-  // For Unity editor: public void MyMenu() 
61-  // For dnSpy: public static void MyMenu() 
62-  public  void  ModMenuGUI ( ) 
61+  // !!! IMPORTANT !!! 
62+  // To edit in unity editor, please change this to: public void ModMenuGUI() 
63+  // To add in the game using dnSpy, change back to: public static void ModMenuGUI() 
64+  public  static void  ModMenuGUI ( ) 
6365 { 
6466 /// Credit 
6567 // (x, y, width, height) 
@@ -347,7 +349,10 @@ public static Texture2D BackTexture
347349 } 
348350 } 
349351
350-  public  void  Logo ( int  windowID ) 
352+ // !!! IMPORTANT !!! 
353+  // To edit in unity editor, please change this to: public void Logo(int windowID) 
354+  // To add in the game using dnSpy, change back to: public static void Logo(int windowID) 
355+  public  static void  Logo ( int  windowID ) 
351356 { 
352357 //This is the bytes of .png image. 
353358 //There must be a if-statement to load image once to avoid memory leaking 
0 commit comments