Esempio n. 1
0
 // When player steps on "Free Parking" tile, it can get all the tax that stored in this tile
 public void CollectFreeParking()
 {
     if (this.transform.position == freeparking.transform.position)
     {
         salary += fp.GetTax();
         fp.ResetTax();
     }
 }