ドキュメント

Unity Engine

Unity Engine

FromULong(ulong)

Creates an EntityId from raw ulong data. This should have come from another valid EntityId. (Use at your own risk. And bit arrangement might change.)
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static EntityId FromULong(ulong input)

Parameters

input

A ulong containing EntityId data that was retrieved from EntityId.ToULong.

Returns

Type

Description

EntityIdThe EntityId created from the raw ulong data.

Remarks

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