Skip to content

Instantly share code, notes, and snippets.

@fredericpierron
Created November 4, 2012 23:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fredericpierron/4014311 to your computer and use it in GitHub Desktop.
Save fredericpierron/4014311 to your computer and use it in GitHub Desktop.
in the main of lua
local navGene = require "navGene"
-- Display objects added below will not respond to storyboard transitions
local ui_news, ui_now, ui_yellow, ui_news_over, ui_now_over, ui_yellow_over = navGene.createNavGene()
navGene.addEventTo(ui_now)
navGene.addEventTo(ui_news)
navGene.addEventTo(ui_yellow)
navGene.addEventTo(ui_now_over)
navGene.addEventTo(ui_news_over)
navGene.addEventTo(ui_yellow_over)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment