private void RenderPasswordField(QuickLoginConfiguration quickLoginConfiguration) { EditorGUILayout.BeginHorizontal(); GUILayout.Label("Password:"******"•"[0], GUILayout.MinWidth(EditorGUIUtility.fieldWidth)); EditorGUILayout.EndHorizontal(); }
private void RenderEmailField(QuickLoginConfiguration quickLoginConfiguration) { EditorGUILayout.BeginHorizontal(); GUILayout.Label("Email:"); quickLoginConfiguration.Email = GUILayout.TextField(quickLoginConfiguration.Email, GUILayout.MinWidth(EditorGUIUtility.fieldWidth)); EditorGUILayout.EndHorizontal(); }
private IEnumerator WaitFrame() { yield return(null); var loginWindow = UserInterfaceContainer.Instance.Get <LoginWindow>().AssertNotNull(); loginWindow.Email = QuickLoginConfiguration.GetInstance().Email; loginWindow.Password = QuickLoginConfiguration.GetInstance().Password; Destroy(gameObject); }
private IEnumerator WaitFrameBeforeDestroy() { yield return(null); var quickLoginConfiguration = QuickLoginConfiguration.GetInstance(); if (quickLoginConfiguration != null) { var loginWindow = FindObjectOfType <LoginWindow>(); if (loginWindow != null) { loginWindow.Email = quickLoginConfiguration.Email; loginWindow.Password = quickLoginConfiguration.Password; } } Destroy(gameObject); }