private void Awake() { _instance = this; }
// Start is called before the first frame update public void ItemSelected(ItemsRecipes recipe) { additionalCanvas.GetComponent <ControllerGeneralPanels>().SetActivePanel(3); }
private void OnDisable() { currentUpgradeRecipe = null; currentItemRecipe = null; }
public void AddItemButton() { recipe = GetComponent <AddRecipeOnScript>().CurrentItemRecipe; AddItem(recipe.ItemID, DateTime.UtcNow.Add(new TimeSpan(0, 0, recipe.SecondToCraft))); }
public void SetRecipe(ItemsRecipes recipe) { currentItemRecipe = recipe; }