Property | Type | Description | |
---|---|---|---|
InventorySlotContainer | |||
closeButton | UnityEngine.UI.Button | ||
containerSlotPrefab | |||
containerSlots | List |
||
ingredientsInInventory | List |
||
inventoryButton | UnityEngine.UI.Button | ||
title |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
OpenInventory ( ) : void | ||
Update ( ) : void |
public AddInventoryItem ( Ingredient ingredient, int count ) : void | ||
ingredient | Ingredient | |
count | int | |
return | void |
public BuildInventorySlot ( Ingredient ingredient, int count ) : void | ||
ingredient | Ingredient | |
count | int | |
return | void |
public GetIngredientAmount ( Ingredient ingredient ) : int | ||
ingredient | Ingredient | |
return | int |
public GetIngredientAmount ( int ingredientId ) : int | ||
ingredientId | int | |
return | int |
public Open ( List |
||
ingredients | List |
|
container | ||
return | void |
public RemoveInventoryItem ( Ingredient ingredient, int count ) : void | ||
ingredient | Ingredient | |
count | int | |
return | void |
public Transform,UnityEngine InventorySlotContainer | ||
return |
public ContainerSlot,Sol containerSlotPrefab | ||
return |
public Button,UnityEngine.UI inventoryButton | ||
return | UnityEngine.UI.Button |