Progressbar
在Project中搜索Control
关键字,根据需要将Progressbar
拖拽到scene
中

Foreground
可以设置进度条Sprite
UISlider.Value设置进度条的进度
Checkbox
- Group代表所属组,当只有一个checkbox的时候可以设置为0,有多个checkbox,同一个组的group要一致
-
Starting State
勾选状态为默认选项 - OnValueChange选择处理脚本

在Project中搜索Control
关键字,根据需要将Progressbar
拖拽到scene
中
Foreground
可以设置进度条Sprite
UISlider.Value设置进度条的进度
Starting State
勾选状态为默认选项本文标题:Unity NGUI组件使用
本文链接:https://www.haomeiwen.com/subject/seupmdtx.html
网友评论