Class AssetMigration
Helper for migrating asset to newer versions.
public static class AssetMigration
- Inheritance
-
AssetMigration
Methods
MigrateAssetIfNeeded(AssetMigrationContext, PackageLoadingAssetFile, string, PackageVersion)
public static bool MigrateAssetIfNeeded(AssetMigrationContext context, PackageLoadingAssetFile loadAsset, string dependencyName, PackageVersion untilVersion = null)
Parameters
context
AssetMigrationContextloadAsset
PackageLoadingAssetFiledependencyName
stringuntilVersion
PackageVersion