Пользовательские дополнения

На главную


RelatedSoundsLua:GetSound( self, sysName )

Возвращает один из звуков группы по его идентификатору.

-- класс:
RelatedSoundsLua

-- объявление:
function GetSound( self, sysName )

-- параметры:
sysName: string - идентификатор звука

-- возвращаемые значения:
Sound2DId or nil - звук или nil в случае ошибки (звук не найден)

-- пример:
local Sound2D = group:GetSound( "test01" )

Search: "CategoryLuaApi" "CategoryRelatedResources"

CategoryRelatedResources
FunctionCommonGetAddonRelatedSoundGroup
FunctionCommonGetAddonRelatedTextGroup
FunctionCommonGetAddonRelatedTextureGroup
FunctionCommonGetStateRelatedSoundGroup
FunctionCommonGetStateRelatedTextGroup
FunctionCommonGetStateRelatedTextureGroup
FunctionRelatedSoundsLuaGetList
FunctionRelatedSoundsLuaGetSound
FunctionRelatedSoundsLuaHasSound
FunctionRelatedTextsLuaGetList
FunctionRelatedTextsLuaGetText
FunctionRelatedTextsLuaHasText
FunctionRelatedTexturesLuaGetList
FunctionRelatedTexturesLuaGetTexture
FunctionRelatedTexturesLuaHasTexture
RelatedResources
RelatedSoundsLua
RelatedTextsLua
RelatedTexturesLua


CategoryLuaApi CategoryFunction CategoryRelatedResources

На главную