TryFindNetworkObject

Method

Try to find an instance of SpatialNetworkObject by its object ID.

Definition

bool TryFindNetworkObject(int objectID, out SpatialNetworkObject networkObject)
bool TryFindNetworkObject(int objectID, out SpatialNetworkObject networkObject)

Returns bool

Parameters

ParameterDescription
int objectID
SpatialNetworkObject networkObject