Exemple #1
0
        public static ToDoListFeaturesSubWindow Open(ToDoListFeatureView _inputView, ToDoProduct _productParent,
                                                     string name = "ToDo Feature Editor")
        {
            var window = Open <ToDoListFeaturesSubWindow>(name);

            window.Init(_inputView, null, _productParent, true);
            instance = window;
            window.Show();
            return(window);
        }
Exemple #2
0
        public static ToDoListFeaturesSubWindow Open(ToDoListFeatureView _inputView, ToDoFeature _featureOrParent,
                                                     bool _isCreate, string name = "ToDo Feature Editor")
        {
            var window = Open <ToDoListFeaturesSubWindow>(name);

            window.Init(_inputView, _featureOrParent, null, _isCreate);
            instance = window;
            window.Show();
            return(window);
        }
Exemple #3
0
 private void OnDisable()
 {
     instance = null;
 }