Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ToEnumFlags<T>(ToggleButtonGroupState, bool)

Synchronizes the internal data with the ToggleButtonGroupState from a FlagsAttribute.
Read time 1 minuteLast updated 12 days ago

Definition

public static T ToEnumFlags<T>(ToggleButtonGroupState options, bool acceptsLengthMismatch = true) where T : Enum

Parameters

The option set to be synced against.

acceptsLengthMismatch

The ability to synchronize two option sets of different sizes.

Returns

Type

Description

TA flag enum type.