예제 #1
0
        private void DisplayRentPopup(CollectRentEvent rent)
        {
            GameObject rentPopup = Instantiate(rentPopupPrefab, rentPopupParent);

            rentPopup.GetComponent <MoneyJump>().SetUp(rent.Rent);
        }
예제 #2
0
 private void OnCollectRent(CollectRentEvent collectRentEvent)
 {
     ChangeMoney(collectRentEvent.Rent);
 }
예제 #3
0
        private void OnRentCollectListener(CollectRentEvent collectEvent)
        {
            int rentCollected = collectEvent.Rent;

            rentCollectedAchievement.CheckAchievement(rentCollected);
        }