Class ScriptEngine
- Namespace
- LunyScript /
- Assembly
- LunyScript.dll
Public interface for LunyScript
public sealed class ScriptEngine : IScriptEngine
Properties
GlobalVariables
public ITable GlobalVariables { get; }
Property Value
Instance
public static IScriptEngine Instance { get; }
Property Value
MaxLoopIterations
Maximum allowed iterations for While/For loops to prevent engine hangs. Only active in DEBUG or UNITY_EDITOR builds.
public static Int32 MaxLoopIterations { get; }
Property Value
Methods
~ScriptEngine()
protected ~ScriptEngine()
GetScriptContext(LunyNativeObjectId)
public IScriptRuntimeContext GetScriptContext(LunyNativeObjectId lunyNativeObjectID)
Parameters
| Type | Name | Description |
|---|---|---|
lunyNativeObjectID |