摘要:
public class L12 : MonoBehaviour { public UIScrollView sv; // Start is called before the first frame update void Start() { //ScrollView - 滚动视图 //一般用于背 阅读全文
posted @ 2025-03-23 19:58
cannedmint
阅读(44)
评论(0)
推荐(0)
摘要:
public class L11 : MonoBehaviour { // Start is called before the first frame update void Start() { //progressbar 进度条一般不用 一般直接使用Sprite的Type里的Filled实现进度 阅读全文
posted @ 2025-03-23 17:47
cannedmint
阅读(7)
评论(0)
推荐(0)
摘要:
public class L10 : MonoBehaviour { public UISlider slider; // Start is called before the first frame update void Start() { //制作Slider //1.由三个Sprite组成, 阅读全文
posted @ 2025-03-23 17:22
cannedmint
阅读(13)
评论(0)
推荐(0)
摘要:
void Start() { //制作Input //1.1个Sprite做背景 1个Label显示文字 //2.为Sprite添加Input脚本 //3.添加碰撞器 //4.在Input组件里关联Label组件 //相关参数 //Start Value - 开始默认显示的内容 //Input Ty 阅读全文
posted @ 2025-03-23 16:29
cannedmint
阅读(11)
评论(0)
推荐(0)
摘要:
public class L9 : MonoBehaviour { public UIPopupList list; // Start is called before the first frame update void Start() { //PopupList-下拉列表 //制作PopupL 阅读全文
posted @ 2025-03-23 16:29
cannedmint
阅读(18)
评论(0)
推荐(0)
摘要:
public class L7 : MonoBehaviour { // Start is called before the first frame update void Start() { //制作Toggle //1.2个Sprite 一父一子 //2.为父对象添加Toggle脚本 //3. 阅读全文
posted @ 2025-03-23 09:55
cannedmint
阅读(10)
评论(0)
推荐(0)

浙公网安备 33010602011771号