public void Plant(string cropName) { // TODO: Use() Seed here if (cropName == "carrot") { crop = carrotCrop; } else if (cropName == "bean") { crop = beanCrop; } else { Debug.LogError("Tried to Plant unknown crop: " + cropName); } crop.Create(this.transform.position.x, this.transform.position.y); planted = true; timeGrowing = 0; }