Пример #1
0
    private string lvlstring2;  //next level

    void Awake()
    {
        go_spawn     = GameObject.Find("spawn");
        go_leveltext = GameObject.Find("wavetext");
        leveltext    = go_leveltext.GetComponent <Text>();
        s_spawnmobs  = go_spawn.GetComponent <spawnmobs>();
    }
 void Awake()
 {
     go_spawn = GameObject.Find("spawn");
     go_leveltext = GameObject.Find("wavetext");
     leveltext = go_leveltext.GetComponent<Text>();
     s_spawnmobs = go_spawn.GetComponent<spawnmobs>();
 }