Namespace LunyScript
Classes
- LunyScriptMaxIterationException
Exception thrown when a script loop exceeds the maximum allowed iterations.
- Script
Abstract base class for all LunyScripts. Provides the API interface for beginner-friendly block-based scripting in C#. Inherit from this class and implement its Build() method to construct script logic.
- ScriptBuildData
Contains design-time data for a script, mainly Inspector-assigned values and references.
- ScriptEngine
Public interface for LunyScript
- ScriptVariables
Provides access to the script's Variable instances stored in a Table. Getter returns a VariableBlock for use in script expressions and conditions. Setter performs immediate variable assignment during Build().
Structs
- ScriptBlockId
Unique identifier for a Sequence/FSM/BT instance. Sequential integers for deterministic ordering and debugging.
- ScriptId
Unique identifier for a LunyScript definition (type). Sequential integers for deterministic ordering and debugging.
- ScriptRuntimeOptions
Options that change runtime behaviour of the script.
Interfaces
- IScriptDefinition
Metadata for a discovered LunyScript type. Represents the script ID and associated Type, not an instance.
- IScriptEngine
Public interface for LunyScript
- IScriptRuntimeContext
Runtime context for a LunyScript instance operating on a specific object. Contains the script metadata, object reference, variables, and registered sequences.