Example #1
0
        private void HideCheatMenu()
        {
            tab = CheatTab.Closed;

            // unblock UI
            input.enabled = true;
        }
Example #2
0
        private void ShowCheatMenu()
        {
            tab = CheatTab.Other;

            // block UI
            input.enabled = false;
        }
Example #3
0
        private void DrawCheatMenuActive()
        {
            GUILayout.BeginHorizontal();

            if (GUILayout.Button(" [ HIDE CONSOLE ] "))
            {
                HideCheatMenu();
            }

            if (GUILayout.Button(" = Levels  = "))
            {
                tab = CheatTab.Levels;
            }

            //if (GUILayout.Button(" = Islands  = "))
            //{
            //    tab = CheatTab.Islands;
            //}

            GUILayout.EndHorizontal();

            GUILayout.BeginHorizontal();

            if (GUILayout.Button(" = PlayerPrefs = "))
            {
                tab = CheatTab.Other;
            }
            if (GUILayout.Button(" = FTUE = "))
            {
                tab = CheatTab.Ftue;
            }

            GUILayout.EndHorizontal();

            //GUILayout.BeginHorizontal();

            //if (GUILayout.Button(" =  Analytics Info  = "))
            //{
            //    tab = CheatTab.Analytics;
            //}

            //if (GUILayout.Button(" =  Analytics Events  = "))
            //{
            //    tab = CheatTab.Events;
            //}

            //GUILayout.EndHorizontal();

            //GUILayout.BeginHorizontal();

            //if (GUILayout.Button(" = vSync and Framerate settings  = "))
            //{
            //    tab = CheatTab.Framerate;
            //}

            //GUILayout.EndHorizontal();
            GUILayout.BeginHorizontal();
            if (GUILayout.Button(" =  Ads Console  = "))
            {
                tab = CheatTab.Ads;
            }

            GUILayout.EndHorizontal();

            GUILayout.BeginHorizontal();
            if (GUILayout.Button(" =  HAPTICS  = "))
            {
                tab = CheatTab.Haptics;
            }

            GUILayout.EndHorizontal();
        }