Table of Contents

Class ScriptEngine

Namespace
LunyScript
/
Assembly
LunyScript.dll

Public interface for LunyScript

public sealed class ScriptEngine : IScriptEngine
Expand Details ...
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 Int32 MaxLoopIterations { get; }

Property Value

Int32

Methods

~ScriptEngine()

protected ~ScriptEngine()

GetScriptContext(LunyNativeObjectId)

public IScriptRuntimeContext GetScriptContext(LunyNativeObjectId lunyNativeObjectID)

Parameters

Type Name Description
LunyNativeObjectId
lunyNativeObjectID

Returns

IScriptRuntimeContext