Exemplo n.º 1
0
        private static bool CreateMusicListPrefix(LevelEditor __instance, ref float ___numButtonsLoad)
        {
            List <string> trackList = new List <string> {
                "Home_Base_v2",
                "Level1_1",
                "Level1_2",
                "Level1_3",
                "Level2_1",
                "Level2_2",
                "Level2_3",
                "Level3_1",
                "Level3_2",
                "Level3_3",
                "Level4_1",
                "Level4_2",
                "Level4_3",
                "Level5_1",
                "Level5_2",
                "Level5_3",
                "Level6"
            };

            trackList.AddRange(CustomMusicManager.GetCustomMusic().Keys);
            __instance.ActivateLoadMenu();
            ___numButtonsLoad = trackList.Count;
            __instance.OpenObjectLoad(trackList);
            __instance.StartCoroutine(SetScrollBarPlacement(__instance));
            return(false);
        }