Exemple #1
0
    public void levelLoad()
    {
        mapScript = GameObject.Find("MapAdmin").GetComponent <MapScript> ();

        startLoc = mapScript.getStartLoc();

        enemyCounter = enemySpawnDelay = numEnemiesDestroyed = 0;
    }
    public void levelLoad()
    {
        mapScript = GameObject.Find ("MapAdmin").GetComponent<MapScript> ();
        inputHandler = gameObject.GetComponent<InputHandler> ();

        startLoc = mapScript.getStartLoc();

        enemyCounter = enemySpawnDelay = numEnemiesDestroyed = 0;
    }