Ejemplo n.º 1
0
    // Update is called once per frame
    void Update()
    {
        float dt = Time.deltaTime;

        updateDeserts(dt);

        botFactory = GetComponent <BotFactory> ();
        botFactory.updateBots(bots, speed, dt);

        roadFactory = GetComponent <RoadFactory>();
        roadFactory.updateBorders(borders, speed, dt);
    }