docs.unity.cn
    Show / Hide Table of Contents

    Method GetSharedValueIndexCountArray

    GetSharedValueIndexCountArray()

    Array of number of occurrences of all shared values. For example, given source array: [A,A,A,B,B,C,C,A,B] shared values are: [A,B,C] Shared value counts: [4,3,2] (number of occurrences of a shared value)

    Declaration
    public NativeArray<int> GetSharedValueIndexCountArray()
    Returns
    Type Description
    NativeArray<Int32>

    Count NativeArray where each element refers to the number of occurrences of each shared value.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on 04 August 2022
    Terms of use