// Use this for initialization
    void Start () {
        playerUnits = new ArrayList();
        enemyUnits = new ArrayList();
        beacons = new ArrayList();


        HealthController = HC.GetComponent<HealthOverlayController>();
        playerController = PC.GetComponent<PlayerController>();
        UIController = UIC.GetComponent<UIController>();

        foreach (GameObject unit in unitsAtStart)
        {
            addUnit(unit);
        }


    }
	// Use this for initialization
	void Start () {
        UIController = UIC.GetComponent<HealthOverlayController>();
        MainUIController = c.GetComponent<UIController>();
        gameController = gc.GetComponent<GameController>();

    }