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);
        }
Example #2
0
 private void SignIn(object obj)
 {
     AuthenticationWindow.Open();
 }