(→Client Scripting Function Reference) |
|||
Line 2: | Line 2: | ||
=Client Scripting Function Reference= | =Client Scripting Function Reference= | ||
− | This API is shared between both C# and Lua runtimes. In case of Lua, we treat 'Nil' as 'null', but otherwise identical. | + | This API is shared between both C# and Lua runtimes. In case of Lua, we treat 'Nil' as 'null', but otherwise identical. C# scripts are defined as a class inheriting from SpaceScript. Lua scripts have a pre-prepared global named 'Space' containing an instance of the SScript class. |
==Classes== | ==Classes== |
Note: Scripting is arriving in Editor Pack 9, due for release on January 25th
This API is shared between both C# and Lua runtimes. In case of Lua, we treat 'Nil' as 'null', but otherwise identical. C# scripts are defined as a class inheriting from SpaceScript. Lua scripts have a pre-prepared global named 'Space' containing an instance of the SScript class.
|