Photon Fusion 2.0.4

Static Public Member Functions | List of all members
NetworkStructUtils Class Reference

Utility methods for INetworkStruct More...

Static Public Member Functions

static int GetWordCount (Type type)
 
static int GetWordCount< T > ()
 Get INetworkStruct Word Count More...
 

Detailed Description

Utility methods for INetworkStruct

Member Function Documentation

◆ GetWordCount< T >()

static int GetWordCount< T > ( )
static

Get INetworkStruct Word Count

Template Parameters
TINetworkStruct type reference
Returns
Number of Words necessary for this specific INetworkStruct
Type Constraints
T :unmanaged 
T :INetworkStruct