コード例 #1
0
    public static void OpenWindow()
    {
        EditSettingsWindow window = (EditSettingsWindow)GetWindow(typeof(EditSettingsWindow));

        window.minSize = new Vector2(900, 700);
        window.Show();
    }
コード例 #2
0
        public static void ShowEditSettingsView()
        {
            var viewModel = new EditSettingsWindowViewModel();
            var window    = new EditSettingsWindow(viewModel);

            window.Show();
        }
コード例 #3
0
    public static void OpenWindow(GenerationSettings genSetts)
    {
        EditSettingsWindow window = (EditSettingsWindow)GetWindow(typeof(EditSettingsWindow));

        window.serializedObject = new SerializedObject(genSetts);
        window.minSize          = new Vector2(450, 300);
        window.Show();
    }