AssetMigration Class
Namespace: Stride.Core.AssetsAssembly: Stride.Core.Assets.dll
Helper for migrating asset to newer versions.
System.Object →
AssetMigration
Derived from AssetMigration:
public static class AssetMigration
Name | Description | |
---|---|---|
Methods | ||
MigrateAssetIfNeeded(AssetMigrationContext, PackageLoadingAssetFile, String, PackageVersion) |
Methods
MigrateAssetIfNeeded(AssetMigrationContext, PackageLoadingAssetFile, String, PackageVersion)
public static bool MigrateAssetIfNeeded(AssetMigrationContext context, PackageLoadingAssetFile loadAsset, string dependencyName, PackageVersion untilVersion = null)
Parameters
Type | Name | Description |
---|---|---|
AssetMigrationContext | context | |
PackageLoadingAssetFile | loadAsset | |
System.String | dependencyName | |
Stride.Core.PackageVersion | untilVersion |
Returns
Type | Description |
---|---|
System.Boolean |