Example #1
0
        protected void Update()
        {
            if (Input.GetKeyDown(KeyCode.F12))
            {
                if (_cheatWindow == null)
                {
                    _cheatWindow = new CheatWindow(GetComponent <RuntimeUnityEditor.RuntimeUnityEditor>());
                }

                _cheatWindow.Show = !_cheatWindow.Show;
            }
        }
        protected void Update()
        {
            if (ShowCheatWindow.IsDown())
            {
                if (_cheatWindow == null)
                {
                    _cheatWindow = new CheatWindow(RuntimeUnityEditor4.Instance);
                }

                _cheatWindow.Show = !_cheatWindow.Show;
            }
        }