Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ThemeSlot3Lobby = BaseTheme:inheritclass("ThemeSlot3Lobby")
- local bg_sound_name = "slot1_LobbyMusic"
- local function _load_bg_sound_done()
- ThemeSlot3Lobby.SoundPart.Alive._audioBgmController:Play(bg_sound_name);
- ThemeSlot3Lobby.SoundPart.Alive._audioBgmController.Loop = true;
- end
- -- #######################
- -- ## hook functions ##
- -- #######################
- function ThemeSlot3Lobby:InitSound()
- self:LoadAudioTab(MjmDefine.CsAudioType.Bgm, bg_sound_name, "_audioBgmController", _load_bg_sound_done)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement