private void Awake() { if (m_instance != null && m_instance != this) { Destroy(this.gameObject); } else { m_instance = this; } DontDestroyOnLoad(this); //Allocation of components m_mapManager = gameObject.AddComponent <MapManager>(); //m_player = gameObject.AddComponent<Player>(); //Testing Map //m_mapManager.BuildMap("OverworldTileID.csv", "OverworldDecoID.csv"); m_mapManager.BuildMap("DunjonTiles.csv", "DunjonDeco.csv"); }