roeas / roeas.github.io

My blog
https://roeas.github.io/
0 stars 0 forks source link

【Archive】背包,卡肉,镜头抖动,有限状态机 - Hexo #7

Open roeas opened 1 month ago

roeas commented 1 month ago

https://roeas.github.io/2021/08/29/Unity/

背包系统   背包 GUI 的实现、ScriptableObject、数据的存储与读取。 层级结构 Bag 挂载 BagOnDrag 脚本 Grid 挂载 Grid Layout Group 组件,使其子物体(Slot)整齐地排放 Slot 挂载 Slot 脚本,更改其子物体(Item)以实现拖拽 Item 挂载 ItemOnDrag 脚本和 CanvasGroup 组件,以及作为 butto