Exemplo n.º 1
0
    void Start()
    {
        enemyManager = GameObject.FindGameObjectWithTag("EnemyManager");
        foreach (Transform child in enemyManager.transform)
        {
            timeRemaining++;
        }
        pplToSave      = (int)timeRemaining;
        timeRemaining *= timePerEnemy;

        countText.text    = timeRemaining.ToString();
        pplCountText.text = pplCountText.ToString();
    }
Exemplo n.º 2
0
 void Start()
 {
     countDownText.text = countdown.ToString();
     waveIndex.text     = "Wave: " + waveIndex.ToString();
 }
Exemplo n.º 3
0
 private void Awake()
 {
     txt.ToString();
     story    = txt.text;
     txt.text = "";
 }