2-22. 制作 Action Bar UI

创建 UI 场景

添加 Action Bar

添加 Slot_Bag

添加 Horizontal Layout Group

添加背包图片

添加一个图片,放到 Action Bar 下面,给它添加 Layout Element 组件,勾选 Ignore Layout,然后调整它的位置

将 Slot_Bag 做成预制体

项目相关代码

代码仓库:https://gitee.com/nbda1121440/farm-tutorial.git

标签:20240331_0932

posted @ 2024-03-31 09:33  hellozjf  阅读(5)  评论(0编辑  收藏  举报