private void HarvestCrop() { if (this.overlayObj != null && crop != null && crop.HasCrop()) { float moneyReceive = crop.CalculateCost(); if (notifManager == null) { notifManager = (UI_TextNotif)FindObjectOfType(typeof(UI_TextNotif)); } notifManager.Notify("Got $ " + moneyReceive + " from selling ", crop.asset.cropSprite); PlayerManager.Instance.AddMoney(moneyReceive); //Destroy(this.overlayObj); crop = new Crop(null); this.overlayObj.GetComponent <SpriteRenderer>().sprite = null; SoundManager.Instance.sfxManager.PlayFromSFXObjectLibrary("Sell"); } }