public static void Open(EditorTutorialScripts owner, Vector2 position, float buttonWidth)
    {
        var rect = new Rect(position, new Vector2(300, 200));

        if (_eventWindow == null)
        {
            _eventWindow = EditorWindow.GetWindowWithRect <EditorAddTutorialScript>(rect, true, "添加教学脚本");
        }
        else
        {
            _eventWindow.position = rect;
        }

        _eventWindow._owner       = owner;
        _eventWindow._buttonWidth = buttonWidth;
        _eventWindow.Show();
    }
    public static void Open(EditorTutorialScripts owner, TutorialScript script, TutorialStep step, Vector2 position, float buttonWidth)
    {
        var rect = new Rect(position, new Vector2(200, 200));

        if (_actionWindow == null)
        {
            _actionWindow = EditorWindow.GetWindowWithRect <EditorAddTutorialAction>(rect, true, "添加行为");
        }
        else
        {
            _actionWindow.position = rect;
        }

        _actionWindow._owner       = owner;
        _actionWindow._step        = step;
        _actionWindow._script      = script;
        _actionWindow._buttonWidth = buttonWidth;
        _actionWindow.Show();
    }
 static void OpenTutorialScript()
 {
     _currentWindow         = EditorWindow.GetWindow <EditorTutorialScripts>(false, "教学编辑器");
     _currentWindow.minSize = new Vector2(_margin * 3 + _scriptTreeWidth + _minScriptInfoWidth, _areaHeight + _margin * 2);
     _currentWindow.Show();
 }