Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

ToggleButtonGroupState.ToEnumFlags

Declaration

public static T ToEnumFlags(UIElements.ToggleButtonGroupState options, bool acceptsLengthMismatch);

Parameters

Description
options The option set to be synced against.
acceptsLengthMismatch The ability to synchronize two option sets of different sizes.

Returns

T A flag enum type.

Description

Synchronizes the internal data with the ToggleButtonGroupState from a FlagsAttribute.