Пример #1
0
    void Start()
    {
        Towers = new List<GameObject>();
        Enemies = new List<Enemy> ();

        if (Instance == null) {
            Instance = this;
        }

        //		resourcesText.text = RESOURCES_TEXT + "" + resources;
        //		lifeText.text = LIFE_TEXT + "" + lives;

        enemySpanwers = GameObject.FindObjectsOfType<EnemySpawner> ();

        guiRunner = gameObject.GetComponent<GUIRunner>();
        guiRunner.Setup(lives, resources);
    }
Пример #2
0
 static void Main(string[] args)
 {
     GUIRunner.Run(Suite);
 }