Photon Fusion 2.1.1

NetworkBehaviour.ArrayReader< T > Struct Template Reference

Provides a reader for network arrays of type T. More...

Public Member Functions

NetworkArrayReadOnly< T > Read (NetworkBehaviourBuffer first)
 Reads a network array from the provided network behaviour buffer.

Detailed Description

Provides a reader for network arrays of type T.

Template Parameters
TThe type of elements in the network array.

Member Function Documentation

◆ Read()

NetworkArrayReadOnly< T > Read ( NetworkBehaviourBuffer first)

Reads a network array from the provided network behaviour buffer.

Parameters
firstThe network behaviour buffer to read the network array from.
Returns
A read-only view of the network array.