private static bool OnOpenAsset(int instanceID, int line)
        {
            TaskContentAsset asset = EditorUtility.InstanceIDToObject(instanceID) as TaskContentAsset;

            if (asset)
            {
                TaskEditorWindow.ShowWindow(asset);
                return(true);
            }
            return(false);
        }
        private static bool OnOpenAsset(int instanceID, int line)
        {
            TaskContentAsset asset = EditorUtility.InstanceIDToObject(instanceID) as TaskContentAsset;

            if (asset)
            {
                if (asset.IsExistMissed())
                {
                    Log.Error("任务资源存在丢失脚本的对象,请先点击 Clear Missed Task 清空丢失脚本的对象!");
                    return(false);
                }
                else
                {
                    TaskEditorWindow.ShowWindow(asset);
                    return(true);
                }
            }
            return(false);
        }