Пользовательские дополнения
На главную
SetPaused( self, isPaused )
Ставит или снимает звук с паузы
-- класс
Sound2DLua
-- семантика
function SetPaused ( self, isPaused )
-- входные параметры
self - Sound2DLua - экземпляр Sound2DLua
isPaused - boolean - устанавливаемый статус паузы
-- возвращаемое значение
нет
-- пример
if sound:IsPlaying() then
sound:SetPaused( true )
end
Связанные страницы: "CategoryLuaApi" "CategoryLuaSound"
CategoryLuaSound
FunctionCommonCreateProlongedStateSound
FunctionCommonCreateSound
FunctionCommonGetAddonRelatedSoundGroup
FunctionCommonGetStateRelatedSoundGroup
FunctionCommonIsSoundEnabled
FunctionCommonPlayMusic
FunctionSound2DLuaGetVolume
FunctionSound2DLuaIsMuted
FunctionSound2DLuaIsPaused
FunctionSound2DLuaIsPlaying
FunctionSound2DLuaPlay
FunctionSound2DLuaSetMuted
FunctionSound2DLuaSetPaused
FunctionSound2DLuaSetVolume
FunctionSound2DLuaStop
Sound2DId
CategoryLuaApi
CategoryLuaSound
На главную