Advertisement Jump to content
Sign in to follow this  

Unity Lua Handling Game State and Cleanup

This topic is 3368 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am using Lua as the main environment for all game programming with my engine. In reference to this thread from a while back, I would like to readdress the issues that I have recently discovered. here also. The main thing I am curious about is how to organize in lua, things that are going to be constantly removed and created in a way such that the GC will be used best. there are a bunch of things in my engine that need to be managed in lua. game objects, lights, and cameras, etc. I think that an overlying state management system is somewhat needed. Any thoughts would be appreciated.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!