Skip to content

Commit

Permalink
显示默认打印内容
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuancheng Zhang committed May 18, 2021
1 parent 9172e71 commit e385f33
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Code/['World']['Global']['LuaFunctionScript'].Script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ end

function Stack:Pop()
if self:IsEmpty() then
--print("Error: the stack is empty")
print('Error: the stack is empty')
return
end
local value = self._stack[self._last]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ local DebugMode = true

--- 打印日志
local PrintLog = DebugMode and function(...)
--print('[SoundUtil]', ...)
print('[SoundUtil]', ...)
end or function()
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ end
--- Update
local function StartUpdate()
while running and wait(DELTA_TIME) do
-- --print(Timer.GetTime(), os.time())
-- print(Timer.GetTime(), os.time())
CheckEvents()
TriggerEvents()
end
Expand Down Expand Up @@ -89,7 +89,7 @@ function TimeUtil.SetTimeout(_func, _seconds)
assert(type(_func) == 'function', '[TimeUtil] TimeUtil.SetTimeout() _func 类型不是function')
assert(_seconds >= 0, '[TimeUtil] TimeUtil.SetTimeout() 延迟时间需大于等于0')
if _seconds == 0 then
--print('[TimeUtil] TimeUtil.SetTimeout() 事件立即执行')
print('[TimeUtil] TimeUtil.SetTimeout() 事件立即执行')
invoke(_func)
return
end
Expand Down

0 comments on commit e385f33

Please sign in to comment.