docs.unity.cn
    Show / Hide Table of Contents

    Method GetAllUniqueSharedComponentData

    GetAllUniqueSharedComponentData<T>(List<T>)

    Obsolete. Use GetAllUniqueSharedComponentsManaged<T>(List<T>) instead.

    Declaration
    [Obsolete("Use GetAllUniqueSharedComponentsManaged<T> (UnityUpgradable) -> GetAllUniqueSharedComponentsManaged<T>(*)", true)]
    public void GetAllUniqueSharedComponentData<T>(List<T> sharedComponentValues)
        where T : struct, ISharedComponentData
    Parameters
    Type Name Description
    List<T> sharedComponentValues

    A List<T> object to receive the unique instances of the shared component of type T.

    Type Parameters
    Name Description
    T

    The type of shared component.

    GetAllUniqueSharedComponentData<T>(List<T>, List<Int32>)

    Obsolete. Use GetAllUniqueSharedComponentsManaged<T>(List<T>, List<Int32>) instead.

    Declaration
    [Obsolete("Use GetAllUniqueSharedComponentsManaged<T> (UnityUpgradable) -> GetAllUniqueSharedComponentsManaged<T>(*)", true)]
    public void GetAllUniqueSharedComponentData<T>(List<T> sharedComponentValues, List<int> sharedComponentIndices)
        where T : struct, ISharedComponentData
    Parameters
    Type Name Description
    List<T> sharedComponentValues

    A List<T> object to receive the unique instances of the shared component of type T.

    List<Int32> sharedComponentIndices

    A List<int> object to receive the unique instances of the shared components' indices.

    Type Parameters
    Name Description
    T

    The type of shared component.

    GetAllUniqueSharedComponentData<T>(List<T>, List<Int32>, List<Int32>)

    Obsolete. Use GetAllUniqueSharedComponentsManaged<T>(List<T>, List<Int32>, List<Int32>) instead.

    Declaration
    [Obsolete("Use GetAllUniqueSharedComponentsManaged<T> (UnityUpgradable) -> GetAllUniqueSharedComponentsManaged<T>(*)", true)]
    public void GetAllUniqueSharedComponentData<T>(List<T> sharedComponentValues, List<int> sharedComponentIndices, List<int> sharedComponentVersions)
        where T : struct, ISharedComponentData
    Parameters
    Type Name Description
    List<T> sharedComponentValues

    A List<T> object to receive the unique instances of the shared component of type T.

    List<Int32> sharedComponentIndices

    A List<int> object to receive the unique instances of the shared components' indices.

    List<Int32> sharedComponentVersions

    A List<int> object to receive the unique instances of the shared components' versions.

    Type Parameters
    Name Description
    T

    The type of shared component.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023