mirror of https://github.com/axmolengine/axmol.git
[Lua] update HelloLua
This commit is contained in:
parent
9de34c4f07
commit
209e44ff09
|
@ -38,7 +38,7 @@ bool AppDelegate::applicationDidFinishLaunching()
|
||||||
pDirector->setAnimationInterval(1.0 / 60);
|
pDirector->setAnimationInterval(1.0 / 60);
|
||||||
|
|
||||||
// register lua engine
|
// register lua engine
|
||||||
CCLuaEngine* pEngine = CCLuaEngine::create();
|
CCLuaEngine* pEngine = CCLuaEngine::defaultEngine();
|
||||||
CCScriptEngineManager::sharedManager()->setScriptEngine(pEngine);
|
CCScriptEngineManager::sharedManager()->setScriptEngine(pEngine);
|
||||||
|
|
||||||
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
|
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
|
||||||
|
|
Loading…
Reference in New Issue