C# 클래스 ItemModel, InventorySystem

脚本功能:MVC模式——Model层,定义物品结构,保存物品数据 添加对象:Bag 背包(Canvas下的空对象) 版权声明:Copyright (c) 2015 duzixi.com All Rights Reserved 创建日期:2015.5.8 知识要点: 1. MVC 2. 自定义类 3. 类的嵌套
상속: MonoBehaviour
파일 보기 프로젝트 열기: duzixi/InventorySystem 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
items List
size int

비공개 메소드들

메소드 설명
Awake ( ) : void

프로퍼티 상세

items 공개적으로 정적으로 프로퍼티

public static List items
리턴 List

size 공개적으로 프로퍼티

public int size
리턴 int