menu style has been removed

This commit is contained in:
Jadis0x
2023-08-19 16:42:16 +03:00
committed by GitHub
parent 9d12c57588
commit e1c529f0ed

View File

@@ -233,16 +233,6 @@ namespace DevourClient
public override void OnGUI() public override void OnGUI()
{ {
GUI.backgroundColor = Color.grey;
GUI.skin.button.normal.background = GUIHelper.MakeTex(2, 2, Color.black);
GUI.skin.button.normal.textColor = Color.white;
GUI.skin.button.hover.background = GUIHelper.MakeTex(2, 2, Color.green);
GUI.skin.button.hover.textColor = Color.black;
GUI.skin.toggle.onNormal.textColor = Color.yellow;
//from https://www.unknowncheats.me/forum/unity/437277-mono-internal-optimisation-tips.html //from https://www.unknowncheats.me/forum/unity/437277-mono-internal-optimisation-tips.html
if (UnityEngine.Event.current.type == EventType.Repaint) if (UnityEngine.Event.current.type == EventType.Repaint)
{ {