public void LoadBattleFromMap(MapSquare currentSquare) { MapGrid mapGrid = FindObjectOfType <MapGrid>(); currentBattle = Instantiate(battleData); currentBattle.SetCharacterData(currentRunner, currentHacker); currentBattle.GetDataFromMapSquare(currentSquare); currentBattle.GetPowerUpDataFromMap(FindObjectOfType <MapData>()); currentBattle.SetMapGrid(mapGrid); currentBattle.LoadModifiersFromMap(currentBattle.GetMapSquare().GetPackageOfModifiers()); //SceneManager.LoadScene(battleSceneName); Transitioner.Instance.TransitionToScene(battleSceneName); StartCoroutine(WaitForBattleLoad(battleSceneName)); }