EmptyAssetUpgrader Class
Namespace: Stride.Core.AssetsAssembly: Stride.Core.Assets.dll
Empty asset upgrader (useful when we want to bump version without changing anything).
Derived from EmptyAssetUpgrader:
public class EmptyAssetUpgrader : AssetUpgraderBase, IAssetUpgrader
Name | Description | |
---|---|---|
Methods | ||
UpgradeAsset(AssetMigrationContext, PackageVersion, PackageVersion, Object, PackageLoadingAssetFile, OverrideUpgraderHint) |
Methods
UpgradeAsset(AssetMigrationContext, PackageVersion, PackageVersion, Object, PackageLoadingAssetFile, OverrideUpgraderHint)
protected override void UpgradeAsset(AssetMigrationContext context, PackageVersion currentVersion, PackageVersion targetVersion, dynamic asset, PackageLoadingAssetFile assetFile, OverrideUpgraderHint overrideHint)
Parameters
Type | Name | Description |
---|---|---|
AssetMigrationContext | context | |
Stride.Core.PackageVersion | currentVersion | |
Stride.Core.PackageVersion | targetVersion | |
System.Object | asset | |
PackageLoadingAssetFile | assetFile | |
OverrideUpgraderHint | overrideHint |