docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ReadComponent

    ReadComponent<T>(BinaryReader)

    Reads a component from the binary reader.

    Declaration
    public static T ReadComponent<T>(this BinaryReader reader) where T : Component
    Parameters
    Type Name Description
    BinaryReader reader
    Returns
    Type Description
    T

    The component that has been read.

    Type Parameters
    Name Description
    T
    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)