기술 자료

Unity Engine

Unity Engine

FromEnumFlags<T>(T, int)

Creates a ToggleButtonGroupState based on a FlagsAttribute enum type.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static ToggleButtonGroupState FromEnumFlags<T>(T options, int length = -1) where T : Enum

Parameters

options

T
The default Enum Flag value.

length

The number of options.

Returns

Type

Description

ToggleButtonGroupStateA ToggleButtonGroupState based on the EnumFlag passed as an argument.