public void Prime(List <PlantItem> farmLand) { foreach (PlantItem item in farmLand) { PlantItemDisplay display = (PlantItemDisplay)Instantiate(plantItemDisplayPrefab); display.transform.SetParent(farmTargetTransform, false); display.Prime(item); } }
public void PlantAppleSeed() { PlantItemDisplay display = (PlantItemDisplay)Instantiate(plantItemDisplayPrefab); }