Photon Fusion 2.0.0

Public Attributes | Properties | List of all members
NetworkPrefabInfo Struct Reference

Meta data for a NetworkObject prefab which has been cataloged in a NetworkProjectConfig.PrefabTable. More...

Public Attributes

readonly NetworkObjectHeaderHeader
 Header data for the NetworkObject prefab.
 
readonly bool IsSynchronous
 Is the prefab supposed to be loaded in a synchronous way. Fusion will report an error if this field is set to true and no prefab is returned by INetworkObjectProvider.
 
readonly NetworkPrefabId Prefab
 Prefab ID. Use NetworkPrefabTable.TryAddSource to look up the actual prefab reference in the NetworkProjectConfig.PrefabTable.
 

Properties

int * Data [get]
 Data pointer to the first word of this NetworkObject's data block.
 
bool HasHeader [get]
 If the Header is not null.
 

Detailed Description

Meta data for a NetworkObject prefab which has been cataloged in a NetworkProjectConfig.PrefabTable.