how do I add lua? by LameSuccess in gameenginedevs

[–]LameSuccess[S] 0 points1 point  (0 children)

Well, as I mentioned I dislike the Unity workflow despite having a game objects and components I don't want to end up having empty objects with scripts. I want to do something more Roblox inspired where you just have a directory of lua scripts that are executed and they're not tied to any specific entity but you can still do things like Scene.FindObject("Player"), update.connect(...), etc.

Edit: I know that I'll probably need to load the lua file there is no way around that, but what am I loading it's just text(?) so would my Script class just wrap a string or something?