프로퍼티 | 타입 | 설명 | |
---|---|---|---|
InventorySlotContainer | |||
closeButton | UnityEngine.UI.Button | ||
containerSlotPrefab | |||
containerSlots | List |
||
ingredientsInInventory | List |
||
inventoryButton | UnityEngine.UI.Button | ||
title |
메소드 | 설명 | |
---|---|---|
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 |
||
RemoveInventoryItem ( Ingredient ingredient, int count ) : void |
메소드 | 설명 | |
---|---|---|
Awake ( ) : void | ||
OpenInventory ( ) : void | ||
Update ( ) : void |
public AddInventoryItem ( Ingredient ingredient, int count ) : void | ||
ingredient | Ingredient | |
count | int | |
리턴 | void |
public BuildInventorySlot ( Ingredient ingredient, int count ) : void | ||
ingredient | Ingredient | |
count | int | |
리턴 | void |
public GetIngredientAmount ( Ingredient ingredient ) : int | ||
ingredient | Ingredient | |
리턴 | int |
public GetIngredientAmount ( int ingredientId ) : int | ||
ingredientId | int | |
리턴 | int |
public Open ( List |
||
ingredients | List |
|
container | ||
리턴 | void |
public RemoveInventoryItem ( Ingredient ingredient, int count ) : void | ||
ingredient | Ingredient | |
count | int | |
리턴 | void |
public Transform,UnityEngine InventorySlotContainer | ||
리턴 |