docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator implicit operator

    implicit operator int(TypeIndex)

    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
    int

    TypeIndex.Value integer representation.

    implicit operator TypeIndex(int)

    Implicit conversion from an int to a TypeIndex.

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

    int to convert

    Returns
    Type Description
    TypeIndex

    TypeIndex representation of the int

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)