UGUI制做背包系统 MVC模式 (下) 脚本篇

  设计数据模型canvas Item为父类,子类dom 武器 防具 消耗品 继承它ide Item类函数 using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(Collider))] /// <summary> /// 背包系统 item类
相关文章
相关标签/搜索