10.11 Utility - Option Picker 选项选择器


Pick one of the options to output based on the option selected. Often used with Option Switch to control which option is picked. Similar to Transition. Formerly known as Multiplexer.

根据所选的选项,选择一个选项输出。
和 Option Switch 模块一起使用,以控制选择哪个选项。
类似于过渡。以前称为 Multiplexer 多路复用器

板栗:一个升级版的 Transition 模块,Transition 模块只能在两个值中选择一个输出,Option Picker 可以在多个值中输出值。

Right-click to change the type (ex: number, text, color), or to add additional options.
右键更改输入口值的类型 (如:数字、字符、颜色),或添加更多选项。

10.11 Utility - Option Picker 选项选择器_第1张图片

输入口

Option 选项
An index (starting at 0) that represents the option to output.
表示输出选项的索引(从0开始)。 Option Switch 模块的输出口连接到这里。

Input 输入
A value that represents option 0.
表示选项0的值。点击 0 输入值,对应 Option Switch 模块的第一个交互要输出的值。

Input 输入
A value that represents option 1.
表示选项1的值。点击 0 输入值,对应 Option Switch 模块的第二个交互要输出的值。

输出口

Output 输出
The picked value.
输出选中交互值。一般连接到要要切换的属性值,如果需要添加动画,则在 Option Picker 模块和属性值模块中间插入动画模块。


Related Patches 相关模块

Option Switch,Option Sender


Related Learn Content 相关课程

Multiple States 多个状态切换
Interact with more than just two states.
超过两个状态的交互。


Related Examples 案例

Facebook Live Comments
Automatically add comments in a Facebook Live video stream.

Instagram Adjust
Use drag to control the Instagram straighten tool.

Instagram Color Picker
Change the text color in an Instagram Stories post.

Moments Onboarding
The original Moments app full onboarding flow.

Traffic Light
Transition across three or more states and include logic.


你可能感兴趣的:(10.11 Utility - Option Picker 选项选择器)