Documentation

Unity Engine

Unity Engine

ToInstanceID(ObjectIdentifier)

Tries to return the InstanceID that represents this ObjectIdentifier.
Read time 1 minuteLast updated a month ago

Definition

Warning
Deprecated. Deprecated, use ToEntityId instead.
public static int ToInstanceID(ObjectIdentifier objectId)

Parameters

Returns

Type

Description

int

Remarks

Returns 0 if the ObjectIdentifier is invalid.