Version: 2022.3
public static bool EnumEquals (T lhs, T rhs);

参数

lhs The first enum to compare.
rhs The second enum to compare.

返回

bool True if equal, otherwise false.

描述

Determines whether the specified enums are equal without boxing.