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