| 122 | } |
| 123 | |
| 124 | void ComponentLua::onEnter() |
| 125 | { |
| 126 | if (_succeedLoadingScript && getLuaFunction(ComponentLua::ON_ENTER)) |
| 127 | { |
| 128 | getUserData(); |
| 129 | LuaEngine::getInstance()->getLuaStack()->executeFunction(1); |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | void ComponentLua::onExit() |
| 134 | { |
nothing calls this directly
no test coverage detected