public static void ShowWelcomeWindow() { var window = WindowsPlugin.GetWindowFor("WelcomeWindowViewModel"); window.title = "Welcome"; window.minSize = new Vector2(800, 410); window.maxSize = new Vector2(800, 410); window.Show(); window.Focus(); }
public void OnGUI() { if (ViewModel == null && _windowFactoryId != null) { WindowsPlugin.BindDrawerToWindow(this, _windowFactoryId); } if (ViewModel != null) { foreach (var ufArea in Drawers) { DrawArea(ufArea); } } }