docs.unity.cn
    Show / Hide Table of Contents

    Method Deconstruct

    Deconstruct(out T1, out T2, out Entity)

    Clean up an existing object.

    Declaration
    public readonly void Deconstruct(out T1 item1, out T2 item2, out Entity entity)
    Parameters
    Type Name Description
    T1 item1

    The value for T1.

    T2 item2

    The value for T2.

    Entity entity

    The entity

    Remarks

    Objects of this type are typically created and destroyed automatically by the source generators.

    See Also
    QueryEnumerableWithEntity(T1, T2, Entity)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, August 10, 2023