Class AssetUpgraderBase
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
dynamicdependencyName
stringvalue
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
AssetMigrationContextdependencyName
stringcurrentVersion
PackageVersiontargetVersion
PackageVersionyamlAssetNode
YamlMappingNodeassetFile
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
AssetMigrationContextcurrentVersion
PackageVersiontargetVersion
PackageVersionasset
dynamicassetFile
PackageLoadingAssetFileoverrideHint
OverrideUpgraderHint