private void OnGUI()
        {
            if (_currentView != null)
            {
                _currentView.Show();
            }
            else
            {
                Close();
            }

            PreventReloadIfLocked();

            Repaint();
        }
Exemple #2
0
        private void OnGUI()
        {
            if (_currentView != null)
            {
                _currentView.Show();
            }
            else
            {
                if (_apiKey != null)
                {
                    AccountGUI();
                }
                else
                {
                    Init();
                }
            }

            Repaint();
        }