示例#1
0
 // Use this for initialization
 void Start()
 {
     BrewingTime = GameObject.Find("Inventory_System").GetComponent <InventorySystem> ();
     BrewingTime.PotionBrewing = false;
     BrewedPotion.sprite       = BrewingTime.CurrentPotionCopy.PotionGraphic;
     WhatwasbrewedText.text    = BrewingTime.CurrentPotionCopy.PotionName;
     BrewingTime.AddPotion();
     BrewingTime.PotionObtained = true;
 }