Photon Fusion 2.0.0

Public Member Functions | List of all members
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()

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.