기술 자료

Unity Engine

Unity Engine

ToULong(EntityId)

Gets the raw data of the EntityId. (Use at your own risk. And bit arrangement might change.)
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static ulong ToULong(EntityId entityId)

Parameters

entityId

EntityId to get as a ulong.

Returns

Type

Description

ulongThe raw data of the EntityId. (Use at your own risk. And bit arrangement might change.)

Remarks

This can be used for storing an EntityId in a common variable, or for custom serialisation.