我有这个代码:
local storyboard = require "storyboard"
local options =
{
effect = "slideLeft",
time = 800
}
storyboard.gotoScene( "scene1", options )
在同一目录中,我有一个名为“scene1.lua”的文件,但控制台报告此错误:
attempt to concatenate global 'sceneName' (a nil value) in function 'gotoScene'
任何想法,因为发生这种情况?谢谢