2016年9月2日

Unity3d - RPG项目学习笔记(十一)

摘要: 前期工程已经构建了背包、格子、物品三者的关系。简单概括,就是背包管理格子,格子管理(生成、消除)物品,物品根据id或icon_name变更sprite。现在开始进行模拟物品的拾取功能。对Inventory脚本进行添加: Class Inventory { public GameObject Inve 阅读全文

posted @ 2016-09-02 21:44 心醉的未来 阅读(355) 评论(0) 推荐(0)

导航