UnsafeUtility.EnumEquals

Declaration

public static bool EnumEquals(T lhs, T rhs);

Parameters

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

Returns

bool True if equal, otherwise false.

Description

Determines whether specified enums are equal without boxing.


Did you find this page useful? Please give it a rating: