docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ReadWrite

    ReadWrite<T>()

    Returns a ComponentType with ReadWrite based on the generic type T.

    Declaration
    public static ComponentType ReadWrite<T>()
    Returns
    Type Description
    ComponentType

    The component type

    Type Parameters
    Name Description
    T

    The type

    ReadWrite(Type)

    Returns a ComponentType with ReadWrite based on the type.

    Declaration
    [ExcludeFromBurstCompatTesting("Takes a managed Type")]
    public static ComponentType ReadWrite(Type type)
    Parameters
    Type Name Description
    Type type

    The type

    Returns
    Type Description
    ComponentType

    The component type

    ReadWrite(TypeIndex)

    Returns a ComponentType with ReadWrite based on the typeIndex.

    Declaration
    public static ComponentType ReadWrite(TypeIndex typeIndex)
    Parameters
    Type Name Description
    TypeIndex typeIndex

    The index

    Returns
    Type Description
    ComponentType

    The component type

    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)