摘要: 创建 Player Bag 创建 Slot Holder 给 Slot Holder 添加 Grid Layout Group,Child Alignment 改为 Middle Center 然后再添加上节课的槽位预制体 添加头像和金币 项目相关代码 代码仓库:https://gitee.com/ 阅读全文
posted @ 2024-03-31 10:52 hellozjf 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 创建 UI 场景 添加 Action Bar 添加 Slot_Bag 添加 Horizontal Layout Group 添加背包图片 添加一个图片,放到 Action Bar 下面,给它添加 Layout Element 组件,勾选 Ignore Layout,然后调整它的位置 将 Slot_B 阅读全文
posted @ 2024-03-31 09:33 hellozjf 阅读(5) 评论(0) 推荐(0) 编辑