public AssetInfo(string assetPath) { AssetPath = assetPath; IsCollectAsset = AssetBundleCollectSettingData.IsCollectAsset(assetPath); IsSceneAsset = AssetDatabase.GetMainAssetTypeAtPath(assetPath) == typeof(SceneAsset); IsVideoAsset = AssetDatabase.GetMainAssetTypeAtPath(assetPath) == typeof(UnityEngine.Video.VideoClip); }