文档

Unity Engine

Unity Engine

GetRawData()

Returns the raw internal data of this EntityId.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
警告
Deprecated. Please use EntityId.ToULong(EntityId) instead.
public ulong GetRawData()

Returns

Type

Description

ulongThe raw representation as a 64-bit unsigned integer.

Remarks

This method is obsolete. To get the raw data of an
EntityId
, use EntityId.ToULong, and to create an
EntityId
from raw data, use EntityId.FromULong.
The raw data does not reflect creation order or any other meaningful property. Do not rely on the raw data for ordering or comparison purposes.