docs.unity.cn
    Show / Hide Table of Contents

    Method GetComponentType

    GetComponentType(Int32)

    Gets a ComponentType for the type stored at the index in the list.

    Declaration
    public readonly ComponentType GetComponentType(int index)
    Parameters
    Type Name Description
    Int32 index

    The index in the list.

    Returns
    Type Description
    ComponentType

    Returns the ComponentType for the type stored at the index in the list. The returned ComponentType always has access mode ReadWrite.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, August 10, 2023