Table of Contents

Class ScriptEngine

Namespace
LunyScript
Assembly
LunyScript.dll

Public interface for LunyScript

public sealed class ScriptEngine : IScriptEngine
Inheritance
object
ScriptEngine
Implements

Properties

GlobalVariables

public ITable GlobalVariables { get; }

Property Value

ITable

Instance

public static IScriptEngine Instance { get; }

Property Value

IScriptEngine

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

lunyNativeObjectID LunyNativeObjectId

Returns

IScriptRuntimeContext