Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

EntityId.FromULong

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static EntityId FromULong(ulong input);

Parameters

Parameter Description
input A ulong containing EntityId data that was retrieved from EntityId.ToULong.

Returns

EntityId The EntityId created from the raw ulong data.

Description

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.)

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