예제 #1
0
    private void Start()
    {
        //Reference
        ui          = UIRendererManager.Instance;
        towerPlacer = PlacementManager.Instance;

        //Initialize UI display for HUD items
        ui.DisplayWave(0);
        ui.DisplayLives(lives);
        ui.DisplayMoney(money);
    }
예제 #2
0
 public void AddMoney(int value)
 {
     //Increment money
     money += value;
     ui.DisplayMoney(money);
 }