Property | Type | Description | |
---|---|---|---|
ingredients | List |
||
ingredientsChanged | bool | ||
myIngredientsGrid | GameObject | ||
rt | |||
selectedIngredients | List |
||
trashMode | bool | ||
trashedIngredients | List |
Method | Description | |
---|---|---|
IngredientsManager ( ) : UnityEngine | ||
IngredientsManager ( GameObject myGrid ) : UnityEngine | ||
IngredientsManager ( bool init ) : UnityEngine | ||
addIngredient ( ingredient ingred ) : void | ||
beginTrashMode ( ) : void | ||
deselectIngredient ( ingredient ing ) : void | ||
endTrashMode ( ) : void | ||
ensureInitialized ( ) : bool | ||
hasIngredient ( ingredient ingredient ) : bool | ||
initialize ( ) : void | ||
removeIngredient ( ingredient ing ) : bool | ||
saveIngredients ( ) : void | ||
selectAll ( ) : void | ||
selectIngredient ( ingredient ing ) : void | ||
unselectAll ( ) : void | ||
updateSelected ( bool select = true ) : void |
Method | Description | |
---|---|---|
newButton ( ingredient ing ) : void |
public IngredientsManager ( GameObject myGrid ) : UnityEngine | ||
myGrid | GameObject | |
return | UnityEngine |
public IngredientsManager ( bool init ) : UnityEngine | ||
init | bool | |
return | UnityEngine |
public addIngredient ( ingredient ingred ) : void | ||
ingred | ingredient | |
return | void |
public deselectIngredient ( ingredient ing ) : void | ||
ing | ingredient | |
return | void |
public hasIngredient ( ingredient ingredient ) : bool | ||
ingredient | ingredient | |
return | bool |
public removeIngredient ( ingredient ing ) : bool | ||
ing | ingredient | |
return | bool |
public selectIngredient ( ingredient ing ) : void | ||
ing | ingredient | |
return | void |
public updateSelected ( bool select = true ) : void | ||
select | bool | |
return | void |