GameObject中添加以下组件:
ToggleGroup
Vertical Layout Group
子GameObject添加以下组件:
Toggle
Toggle Transition
在代码中添加Toggle.onValueChanged事件
Toggle.onValueChanged