private void handleTrashCan(Collider other) { if (other.tag == "Trashcan" && Input.GetKeyDown(KeyCode.E)) { float amountEarned = plasticValue * _currentPickUpAmount; shopSystem.SetMoneyAmount(amountEarned); shopSystem.SetTotalEarned(amountEarned); FindObjectOfType <AudioManager>().Play("ThrowTrash"); _currentPickUpAmount = 0; } }