operator ==(UnityObjectRef<T>, UnityObjectRef<T>)
Returns true if two UnityObjectRef values are equal.
阅读时间1 分钟最后更新于 20 天前
Definition
- Type: Operator
- Namespace: Unity.Entities
- Assembly: UnityEngine.CoreModule
public static bool operator ==(UnityObjectRef<T> left, UnityObjectRef<T> right)
Parameters
The first reference to compare for equality.
The second reference to compare for equality.
Returns
Type | Description |
|---|---|
| bool | True if the two references are equal. |