EnumEquals<T>(T, T)
Determines whether specified enums are equal without boxing.
Read time 1 minuteLast updated 20 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
public static bool EnumEquals<T>(T lhs, T rhs) where T : struct, IConvertible
Parameters
Returns
Type | Description |
|---|---|
| bool | True if equal, otherwise false. |