Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ToEntityId(ObjectIdentifier)

Tries to return the EntityId that represents this ObjectIdentifier.
Read time 1 minuteLast updated 14 days ago

Definition

public static EntityId ToEntityId(ObjectIdentifier objectId)

Parameters

The object identifier to convert.

Returns

Type

Description

EntityIdThe EntityId that corresponds to the specified object identifier, or EntityId.None if the object identifier is invalid.

Remarks

Returns EntityId.None if the ObjectIdentifier is invalid.