Exemple #1
0
 private void CropGrowth()
 {
     //Debug.Log("Crop growth at " + Time.time);
     if (this.overlayObj != null && crop != null)
     {
         crop.CropGrowth(ref waterAmount);
         overlayObj.GetComponent <SpriteRenderer>().sprite = crop.GetSprite();
     }
 }