void OnLevelFinishedLoading(Scene scene, LoadSceneMode mode) { if (scene.buildIndex != 1 && scene.buildIndex != 0) { Matchmaking.JoinToAnyBattleOfType(myMode); } }