//********************** START GAME ******************** void InitNewGame() { CameraScript.ResetZoom(); nextGameTimer.Reset(); //spawn map with already intantiated gameObjects levelMap = MapParser.GetRandomMap(); ExtractSpecificFromAllGO(); //set camera position SetCameraPosition(); //*************************************** SPAWN BACKGROUND OBJECT ****************************************** DestroyBackground(); backgroundObject = (GameObject)MonoBehaviour.Instantiate(Resources.Load <GameObject>(FilePaths.objBackgroundBack), new Vector3(CameraScript.camPos.x, CameraScript.camPos.y, 10), Quaternion.identity); //chose where characters will spawn InitCharacters(); SetCharactersPosition(); }