摘要:
创建 Player Bag 创建 Slot Holder 给 Slot Holder 添加 Grid Layout Group,Child Alignment 改为 Middle Center 然后再添加上节课的槽位预制体 添加头像和金币 项目相关代码 代码仓库:https://gitee.com/ 阅读全文
摘要:
创建 UI 场景 添加 Action Bar 添加 Slot_Bag 添加 Horizontal Layout Group 添加背包图片 添加一个图片,放到 Action Bar 下面,给它添加 Layout Element 组件,勾选 Ignore Layout,然后调整它的位置 将 Slot_B 阅读全文