C# 클래스 Sol.Container

상속: Menu
파일 보기 프로젝트 열기: Stumpstump/RoverGame

공개 프로퍼티들

프로퍼티 타입 설명
InventorySlotContainer UnityEngine.Transform
closeButton UnityEngine.UI.Button
containerSlotPrefab ContainerSlot
containerSlots List
ingredientsInInventory List
inventoryButton UnityEngine.UI.Button
title UnityEngine.UI.Text

공개 메소드들

메소드 설명
AddInventoryItem ( Ingredient ingredient, int count ) : void
BuildInventorySlot ( Ingredient ingredient, int count ) : void
Close ( ) : void
GetIngredientAmount ( Ingredient ingredient ) : int
GetIngredientAmount ( int ingredientId ) : int
InitializeInventorySlots ( ) : void
Open ( ) : void
Open ( List ingredients, ContainerObject container ) : void
RemoveInventoryItem ( Ingredient ingredient, int count ) : void

비공개 메소드들

메소드 설명
Awake ( ) : void
OpenInventory ( ) : void
Update ( ) : void

메소드 상세

AddInventoryItem() 공개 메소드

public AddInventoryItem ( Ingredient ingredient, int count ) : void
ingredient Ingredient
count int
리턴 void

BuildInventorySlot() 공개 메소드

public BuildInventorySlot ( Ingredient ingredient, int count ) : void
ingredient Ingredient
count int
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

GetIngredientAmount() 공개 메소드

public GetIngredientAmount ( Ingredient ingredient ) : int
ingredient Ingredient
리턴 int

GetIngredientAmount() 공개 메소드

public GetIngredientAmount ( int ingredientId ) : int
ingredientId int
리턴 int

InitializeInventorySlots() 공개 메소드

public InitializeInventorySlots ( ) : void
리턴 void

Open() 공개 메소드

public Open ( ) : void
리턴 void

Open() 공개 메소드

public Open ( List ingredients, ContainerObject container ) : void
ingredients List
container ContainerObject
리턴 void

RemoveInventoryItem() 공개 메소드

public RemoveInventoryItem ( Ingredient ingredient, int count ) : void
ingredient Ingredient
count int
리턴 void

프로퍼티 상세

InventorySlotContainer 공개적으로 프로퍼티

public Transform,UnityEngine InventorySlotContainer
리턴 UnityEngine.Transform

closeButton 공개적으로 프로퍼티

public Button,UnityEngine.UI closeButton
리턴 UnityEngine.UI.Button

containerSlotPrefab 공개적으로 프로퍼티

public ContainerSlot,Sol containerSlotPrefab
리턴 ContainerSlot

containerSlots 공개적으로 프로퍼티

public List containerSlots
리턴 List

ingredientsInInventory 공개적으로 프로퍼티

public List ingredientsInInventory
리턴 List

inventoryButton 공개적으로 프로퍼티

public Button,UnityEngine.UI inventoryButton
리턴 UnityEngine.UI.Button

title 공개적으로 프로퍼티

public Text,UnityEngine.UI title
리턴 UnityEngine.UI.Text