private void OnGUI() { if (_currentView != null) { _currentView.Show(); } else { Close(); } PreventReloadIfLocked(); Repaint(); }
private void OnGUI() { if (_currentView != null) { _currentView.Show(); } else { if (_apiKey != null) { AccountGUI(); } else { Init(); } } Repaint(); }