public static VideoEditorWelcomeWindowData CreateDataObj(bool isLaunched)
    {
        VideoEditorWelcomeWindowData dataObj = ScriptableObject.CreateInstance <VideoEditorWelcomeWindowData>();

        dataObj.launched = isLaunched;
        AssetDatabase.CreateAsset(dataObj, VideoEditorConstants.WindowDataPath);
        AssetDatabase.SaveAssets();
        return(dataObj);
    }
    static OpenWelcomeOnLaunch()
    {
        VideoEditorWelcomeWindowData dataObj = AssetDatabase.LoadAssetAtPath <VideoEditorWelcomeWindowData>(VideoEditorConstants.WindowDataPath);

        if (dataObj == null)
        {
            dataObj = CreateDataObj(false);
        }

        if (!dataObj.launched)
        {
            launched = false;
            EditorApplication.update += Update;
        }
    }