Table of Contents

Class AssetUpgraderBase

Namespace
Stride.Core.Assets
Assembly
Stride.Core.Assets.dll
public abstract class AssetUpgraderBase : IAssetUpgrader
Inheritance
AssetUpgraderBase
Implements
Derived

Methods

SetSerializableVersion(dynamic, string, PackageVersion)

public static void SetSerializableVersion(dynamic asset, string dependencyName, PackageVersion value)

Parameters

asset dynamic
dependencyName string
value PackageVersion

Upgrade(AssetMigrationContext, string, PackageVersion, PackageVersion, YamlMappingNode, PackageLoadingAssetFile)

public void Upgrade(AssetMigrationContext context, string dependencyName, PackageVersion currentVersion, PackageVersion targetVersion, YamlMappingNode yamlAssetNode, PackageLoadingAssetFile assetFile)

Parameters

context AssetMigrationContext
dependencyName string
currentVersion PackageVersion
targetVersion PackageVersion
yamlAssetNode YamlMappingNode
assetFile PackageLoadingAssetFile

UpgradeAsset(AssetMigrationContext, PackageVersion, PackageVersion, dynamic, PackageLoadingAssetFile, OverrideUpgraderHint)

protected abstract void UpgradeAsset(AssetMigrationContext context, PackageVersion currentVersion, PackageVersion targetVersion, dynamic asset, PackageLoadingAssetFile assetFile, OverrideUpgraderHint overrideHint)

Parameters

context AssetMigrationContext
currentVersion PackageVersion
targetVersion PackageVersion
asset dynamic
assetFile PackageLoadingAssetFile
overrideHint OverrideUpgraderHint