com.onlineobject.objectnet Namespace

NetworkPrefabsDatabase..::..GetPrefab Method (Int32)

Retrieves a prefab entry by its network ID.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public NetworkPrefabEntry GetPrefab(

	int prefabId

)

Parameters

prefabId
Type: Int32
The network ID of the prefab.

Return Value

The corresponding NetworkPrefabEntry, or null if not found.