It would be useful if there was an extra line in the generated Lua code that creates a reference to each item that is being added to the display group.Currently:
I would like:
menuGroup:insert(sun)menuGroup.sun = sun
I want to add custom Lua code outside of the generated modules that references objects in the display group.Currently I would have to use integer indices e.g. menuGroup which means I need to already know the index of each object. Also this is dangerous as the index could change if objects are added to/deleted from display group.I would like to not have to worry about the index i.e. use menuGroup.sun
When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience.