예제 #1
0
 void SeedsUnlocked(ShopItemHolder shopItemHolderScript, PlantItem plantItem)
 {
     shopItemHolderScript.SetItemExp(plantItem.GetItemExp());
     shopItemHolderScript.SetItemTime(plantItem.GetItemTime());
     shopItemHolderScript.SetItemPrize(plantItem.GetItemPrize());
     shopItemHolderScript.SetItemAdditionalPrize(plantItem.GetItemAdditionalPrize());
 }
 public void Init(PlantItem plantItem)
 {
     PlantItem = plantItem;
     ResetGrowthTime(PlantItem.GetItemTime().x, PlantItem.GetItemTime().y, PlantItem.GetItemTime().z);
 }