Exemplo n.º 1
0
        public static void Open(ShellExecutor executor)
        {
            if (_instance != null)
            {
                _instance.Close();
            }
            _executor = executor;
            var win = ShellExecutorEditWindow.CreateInstance <ShellExecutorEditWindow>();

            win.titleContent = new GUIContent("Editor");
            win.ShowUtility();
            _instance = win;
        }
Exemplo n.º 2
0
 private void OnDisable()
 {
     _inspestor = null;
     _executor  = null;
 }