文档

Unity Engine

Unity Engine

ToInstanceID(ObjectIdentifier)

Tries to return the InstanceID that represents this ObjectIdentifier.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
Removed. Deprecated, use ToEntityId instead.
public static int ToInstanceID(ObjectIdentifier objectId)

Parameters

Returns

Type

Description

int

Remarks

Returns 0 if the ObjectIdentifier is invalid.