Equals
SystemHandle instances are equal if they refer to the same system instance.
阅读时间1 分钟最后更新于 19 天前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
Equals(Object)
SystemHandle instances are equal if they refer to the same system instance.
public override bool Equals(object obj)
Parameters
The object to compare to this SystemHandle.
Returns
Type | Description |
|---|---|
| bool | True, if the obj is a SystemHandle object and both SystemHandles represent the same system instance. |
Equals(SystemHandle)
Implements IEquatable interface for usage in generic containers. SystemHandle instances are equal if they refer to the same system instance.
public bool Equals(SystemHandle other)
Parameters
Another SystemHandle instance.
Returns
Type | Description |
|---|---|
| bool | True, if both SystemHandles represent the same system instance. |