Paul Thomas Posted July 16, 2023 Share Posted July 16, 2023 I apologize if this has already been answered, but the answers I've found don't seem to work. The answers are also from 2015 if I'm not mistaken, and I tried those answers in multiple ways to expose a C++ class to LUA. How do we expose C++ classes to LUA? Thanks! Quote Link to comment Share on other sites More sharing options...
Solution Josh Posted July 16, 2023 Solution Share Posted July 16, 2023 In Leadwerks, use tolua++: https://github.com/LuaDist/toluapp Ultra uses sol3, which is much easier and better: https://github.com/ThePhD/sol2 1 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Paul Thomas Posted July 16, 2023 Author Share Posted July 16, 2023 Oh yeah, sol is way easier. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.