docs.unity.cn
    Show / Hide Table of Contents

    Operator Implicit

    Implicit(TypeIndex to Int32)

    Implicit conversion from TypeIndex to an int.

    Declaration
    public static implicit operator int (TypeIndex ti)
    Parameters
    Type Name Description
    TypeIndex ti

    TypeIndex to convert.

    Returns
    Type Description
    Int32

    TypeIndex.Value integer representation.

    Implicit(Int32 to TypeIndex)

    Implicit conversion from an int to a TypeIndex.

    Declaration
    public static implicit operator TypeIndex(int value)
    Parameters
    Type Name Description
    Int32 value

    int to convert

    Returns
    Type Description
    TypeIndex

    TypeIndex representation of the int

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