ILua.DoString method
Runs chunk in the game’s main Lua state on the calling (main) thread. Fire-and-forget: no return value. Wrap the chunk body in pcall(function() ... end) so a Lua-side error cannot propagate back through the interop trampoline. No-op until Ready.
public void DoString(string chunk)| parameter | description |
|---|---|
| chunk | A complete Lua chunk. |
See Also
Section titled “See Also”- interface ILua
- namespace Stellar.Abstractions.Services