public static void Update()
 {
     if (!launched)
     {
         count++;
         if (count > 100)
         {
             VideoEditorWelcomeWindow.Init();
             CreateDataObj(true);
             launched = true;
         }
     }
 }
    public static void Init()
    {
        if (window != null)
        {
            window = (VideoEditorWelcomeWindow)GetWindow(typeof(VideoEditorWelcomeWindow));
            window.Focus();
            return;
        }

        window = (VideoEditorWelcomeWindow)GetWindow(typeof(VideoEditorWelcomeWindow));
        try
        {
            var main = GetEditorMainWindowPos();
            window.position = new Rect(main.x + (main.width / 2) - 300, main.y + (main.height / 2) - 300, 600, 500);
        }
        catch (Exception) {
            window.position = new Rect(100, 100, 600, 500);
        }
        window.titleContent = new GUIContent("Welcome");
        window.Show();
    }