コード例 #1
0
ファイル: ShowPotion.cs プロジェクト: Anemonella/PotionShop
 // 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;
 }