private void SetName() { switch (GameManager.instance.language) { case Language.Korean: text.text = names[x]; break; case Language.English: text.text = type.ToString(); break; } }
public void Combine() { if (selectedCookProcess == CookProcess.none) { return; } if (SelectedIngredient[IngredientType1.meat] == IngredientName.none && SelectedIngredient[IngredientType1.seafood] == IngredientName.none && SelectedIngredient[IngredientType1.vegetable] == IngredientName.none) { return; } if (selectedCookProcess == CookProcess.raw) { Finish(); } else { CookingPanel.SetActive(true); processImage.sprite = Resources.Load <Sprite>("Image/CookProcess/" + selectedCookProcess.ToString()); cooking = true; } }