C# 클래스 Supermarket.Product

파일 보기 프로젝트 열기: Clarksj4/Theme-Supermarket-Tycoon-World 1 사용 예제들

공개 메소드들

메소드 설명
Product ( GameObject model, float price, int quantity ) : System
Split ( int quantity ) : Product

Splits this product category in two with the new product category inheriting the specified quantity from this product.

메소드 상세

Product() 공개 메소드

public Product ( GameObject model, float price, int quantity ) : System
model UnityEngine.GameObject
price float
quantity int
리턴 System

Split() 공개 메소드

Splits this product category in two with the new product category inheriting the specified quantity from this product.
public Split ( int quantity ) : Product
quantity int The quantity of product to be removed from this product and placed into the new /// product
리턴 Product