Class MigrationStep | High Definition RP | 7.1.8
docs.unity3d.com
    Show / Hide Table of Contents

    Class MigrationStep

    Define helpers to manipulate MigrationStep<TVersion, TTarget>.

    Inheritance
    Object
    MigrationStep
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    public static class MigrationStep

    Methods

    New<TVersion, TTarget>(TVersion, Action<TTarget>)

    Create a new MigrationStep<TVersion, TTarget>.

    Declaration
    public static MigrationStep<TVersion, TTarget> New<TVersion, TTarget>(TVersion version, Action<TTarget> action)
        where TVersion : struct, IConvertible where TTarget : class, IVersionable<TVersion>
    Parameters
    Type Name Description
    TVersion version

    The version of the step.

    Action<TTarget> action

    The migration action to perform.

    Returns
    Type Description
    MigrationStep<TVersion, TTarget>

    The migration step.

    Type Parameters
    Name Description
    TVersion

    An enum identifying the version.

    TTarget

    The type to migrate.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023