Class ScriptEngine
- Namespace
- LunyScript
- Assembly
- LunyScript.dll
Public interface for LunyScript
public sealed class ScriptEngine : IScriptEngine
- Inheritance
-
objectScriptEngine
- Implements
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 int MaxLoopIterations { get; }
Property Value
- int
Methods
~ScriptEngine()
protected ~ScriptEngine()
GetScriptContext(LunyNativeObjectId)
public IScriptRuntimeContext GetScriptContext(LunyNativeObjectId lunyNativeObjectID)
Parameters
lunyNativeObjectIDLunyNativeObjectId