Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetRawData()

Returns the raw internal data of this EntityId.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Warning
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.