Advertisement
lvs

Untitled

lvs
Aug 6th, 2014
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.20 KB | None | 0 0
  1. Runtime:addEventListener('system', function (event)  
  2.     local scene = storyboard.getScene(storyboard.getCurrentSceneName())
  3.     if scene and scene.system then
  4.         scene:system(event)
  5.     end
  6. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement