文档

Unity Engine

Download Unity

Unity Engine

operator !=(EntityQueryMask, EntityQueryMask)

Compare two instances for inequality.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Operator
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static bool operator !=(EntityQueryMask lhs, EntityQueryMask rhs)

Parameters

The left instance to compare.

The right instance to compare.

Returns

Type

Description

boolFalse if both masks refer to the same archetype set within the same world, or true if not.