Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Compare<T>(ToggleButtonGroupState, T)

Compares two ToggleButtonGroupState of flag enum types.
Read time 1 minuteLast updated 12 days ago

Definition

public static bool Compare<T>(ToggleButtonGroupState options, T value) where T : Enum

Parameters

The ToggleButtonGroupState to be compared with.

value

T
The value of a given flag enum.

Returns

Type

Description

boolTrue if both options sets are the same, otherwise false.