Exemplo n.º 1
0
 private void CheckHighestEarnedCrop(Harvest tile, int moneyCrop)
 {
     if (moneyCrop > highestEarningCropVal)
     {
         highestEarningCropVal = moneyCrop;
         highEarningCropName   = tile.GetComponent <Image>().sprite.name;
     }
 }