isPaused
Definition
-- @/lua/ge/extensions/core/replay.lua:73
local function isPaused()
return M.state.paused
end
Callers
@/lua/ge/simTimeAuthority.lua
if core_replay.state.state == "playback" then
return core_replay.isPaused()
else
@/lua/ge/extensions/editor/camPathEditor.lua
core_replay.loadFile(path.replay)
if (core_replay.getState() == 'playback') and not core_replay.isPaused() then
core_replay.togglePlay()
core_replay.seek(M.currentPath.markers[1].time / core_replay.getTotalSeconds())
if (core_replay.getState() == 'playback') and core_replay.isPaused() then
core_replay.togglePlay()
editor.uiIconImageButton(
core_replay.isPaused() and editor.icons.play_arrow or editor.icons.pause,
im.ImVec2(buttonSize, buttonSize),
core_paths.stopCurrentPath()
if (core_replay.getState() == 'playback') and not core_replay.isPaused() then
core_replay.togglePlay()