Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    AssetMigration Class

    Namespace: Stride.Core.Assets
    Assembly: 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)
    | Improve this Doc View Source

    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

    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation