Interface IScriptRuntimeContext
- Namespace
- LunyScript
- Assembly
- LunyScript.dll
Runtime context for a LunyScript instance operating on a specific object. Contains the script metadata, object reference, variables, and registered sequences.
public interface IScriptRuntimeContext
Properties
EventArgs
Generic event arguments for the currently executing event. Blocks cast this to the expected type (e.g. LunyCollision, LunyCollider). Null outside of event execution.
object EventArgs { get; }
Property Value
- object
GlobalVariables
ITable GlobalVariables { get; }
Property Value
LocalVariables
ITable LocalVariables { get; }
Property Value
LunyObject
ILunyObject LunyObject { get; }
Property Value
ScriptId
ScriptId ScriptId { get; }
Property Value
ScriptType
Type ScriptType { get; }
Property Value
- Type