Engine
Raylib based game framework
Loading...
Searching...
No Matches
LuaScript Struct Reference

Holds the runtime state of a single Lua script. More...

#include <LuaManager.hpp>

Public Attributes

sol::environment environment
 Isolated Lua environment; each script gets its own globals table.
std::string directory
 Directory the script was loaded from; used to resolve sandboxed requires.
bool enabled = true
 When false the script's Update function is not called each frame.

Detailed Description

Holds the runtime state of a single Lua script.


The documentation for this struct was generated from the following file: