private void DisplayRentPopup(CollectRentEvent rent) { GameObject rentPopup = Instantiate(rentPopupPrefab, rentPopupParent); rentPopup.GetComponent <MoneyJump>().SetUp(rent.Rent); }
private void OnCollectRent(CollectRentEvent collectRentEvent) { ChangeMoney(collectRentEvent.Rent); }
private void OnRentCollectListener(CollectRentEvent collectEvent) { int rentCollected = collectEvent.Rent; rentCollectedAchievement.CheckAchievement(rentCollected); }