We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e718ca commit cc21ff3Copy full SHA for cc21ff3
cocos/scripting/lua-bindings/script/framework/extends/SpriteEx.lua
@@ -27,7 +27,7 @@ local Sprite = cc.Sprite
27
function Sprite:playAnimationOnce(animation, args)
28
local actions = {}
29
30
- local showDelay = args.showDelay or 0
+ local showDelay = args.showDelay
31
if showDelay then
32
self:setVisible(false)
33
actions[#actions + 1] = cc.DelayTime:create(showDelay)
0 commit comments