private void OnGUI()
        {
            serializedObj.Update();

            if (window == null)
            {
                window = GetWindow <AnimatorCopyWindow>();
            }

            halfViewWidth  = EditorGUIUtility.currentViewWidth / 2f;
            halfViewHeight = window.position.height / 2f;

            using (new EditorGUILayout.HorizontalScope())
            {
                using (EditorGUILayout.VerticalScope vScope = new EditorGUILayout.VerticalScope(GUILayout.Width(EditorGUIUtility.currentViewWidth)))
                {
                    GUI.backgroundColor = UnityEngine.Color.white;
                    Rect rect = vScope.rect;
                    rect.height = window.position.height;
                    GUI.Box(rect, "");

                    //模板区域UI绘制
                    DrawTemplateUI();
                    //绘制元素列表
                    DrawList(rect);
                }

                //using (new EditorGUILayout.VerticalScope(GUILayout.Width(EditorGUIUtility.currentViewWidth * 0.5f)))
                //{

                //}
            }

            serializedObj.ApplyModifiedProperties();
        }
        public static void OpenWindow()
        {
            if (window == null)
            {
                window = GetWindow <AnimatorCopyWindow>();

                window.titleContent = new GUIContent("CopyController");

                window.minSize = new Vector2(300, 150);
            }
        }