Exemplo n.º 1
0
    public void Init()
    {
        worldData    = WorldDataGenerator.GenerateEmptyWorld(worldWidth, worldLength, worldHeight);
        worldObjects = new WorldObjectContainer(worldWidth, worldLength, worldHeight, this.transform, worldData);

        WorldObjectManager.InstantiateAllObjects(worldData, worldObjects);
    }