ToULong(EntityId)
Gets the raw data of the EntityId. (Use at your own risk. And bit arrangement might change.)
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static ulong ToULong(EntityId entityId)
Parameters
EntityId to get as a ulong.
Returns
Type | Description |
|---|---|
| ulong | The 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.