public void setupWorld() { firstWorld = new world(); firstWorld.setupWorld(this.worldWidth, this.worldHeight); tileController = GameObject.FindGameObjectWithTag("tileSpriteController").GetComponent <tileSpriteController>(); charController = GameObject.FindGameObjectWithTag("characterController").GetComponent <characterController>(); WOcontroller = GameObject.FindGameObjectWithTag("WOspriteController").GetComponent <WOspriteController>(); generateWorld(); Debug.Log("World is setup"); }