IsPlaying#
- ExportAudioSource.IsPlaying()#
 AudioSource が現在再生中かどうかを取得します。
- Returns:
 再生中かどうか
- Return type:
 boolean
Example#
local cube = vci.assets.GetTransform("Cube")
local audioSources = cube.GetAudioSources()
audioSources[1].Play(1, false)
 
function onUse(use)
    -- 掴んだら現在の再生中かどうかをログに出力
    print("IsPlaying: " .. tostring(audioSources[1].IsPlaying()))
end