Photon Fusion 2.0.0

Properties | List of all members
NetworkSerializeMethodAttribute Class Reference

Network Serialize Method Attribute. More...

Inherits Attribute.

Properties

int MaxSize [get, set]
 If set, this changes expected Wrap method signature to int Name(NetworkRunner, T, byte*) and Unwrap to int Name(NetworkRunner, byte*, ref T). In both cases, the result is the number of bytes written/read and can not be greater than what's declared here.
 

Detailed Description

Network Serialize Method Attribute.