Lua display.newText没有在场景中显示

时间:2015-12-04 18:07:43

标签: lua corona corona-storyboard

function scene:create( event )
    print("ifc.scene1 - scene:create() @ " .. getTimer())
    local sceneGroup = self.view

    -- Create a label showing which scene this is
    local label = display.newText( sceneGroup, "Main Menu", centerX, h/6, native.systemFont, 30 )


end

我正在看一个教程中的示例代码,这只是代码的一小部分,但其他一切都有效,这部分基本上是在屏幕顶部标题,应该说" Main菜单"但它没有出现,有谁知道为什么?

0 个答案:

没有答案
相关问题