public static IView Open(Action <bool> onClose = null)
        {
            AuthenticationWindow authWindow = GetWindow <AuthenticationWindow>();

            if (onClose != null)
            {
                authWindow.OnClose += onClose;
            }
            authWindow.minSize = new Vector2(290, 290);
            authWindow.Show();
            return(authWindow);
        }
Exemple #2
0
 private void SignIn(object obj)
 {
     AuthenticationWindow.Open();
 }