Version: Unity 6.4 Beta (6000.4)
LanguageEnglish
  • C#

EntityId.Unknown operator

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

public static bool Unknown operator(EntityId left, EntityId right);

Parameters

Parameter Description
lhs The first EntityId to compare.
rhs The second EntityId to compare.

Returns

bool True if the first EntityId is less than or equal to the second; otherwise, false.

Description

Determines whether the first EntityId is less than or equal to the second.

The ordering of EntityId values is arbitrary and does not reflect creation order or any other meaningful property. Do not rely on the comparison result for anything other than establishing a consistent ordering for data structures that require it.