public static void OpenWindow(AnimationEventController data)
        {
            Instance = GetWindow <AnimationEventControllerEditorWindow>();
            Instance.titleContent = new GUIContent("AnimationEventController");

            Instance.Initialize(data);

            Instance.Show();
        }
        private void InitializeView()
        {
            if (Instance == null)
            {
                Instance = GetWindow <AnimationEventControllerEditorWindow>();
                Instance.titleContent = new GUIContent("AnimationEventController");
                Instance.Show();
            }

            if (propertiesView == null)
            {
                propertiesView = new AECPropertiesView();
            }

            if (workView == null)
            {
                workView = new AECWorkView();
            }

            propertiesView.Initialize(animationEventController);
            workView.Initialize(animationEventController);
        }