Line 16: | Line 16: | ||
*** [[Scripting/SInventoryItem]] Inventory items | *** [[Scripting/SInventoryItem]] Inventory items | ||
** [[Scripting/SFurniture]] Furniture items | ** [[Scripting/SFurniture]] Furniture items | ||
− | ** [[Scripting/SHost]] Scripting | + | ** [[Scripting/SHost]] Host |
+ | ** [[Scripting/SMaterial]] Material items | ||
** [[Scripting/SPhysics]] Physics (see also [[Scripting/SRigidbody]]) | ** [[Scripting/SPhysics]] Physics (see also [[Scripting/SRigidbody]]) | ||
** [[Scripting/SString]] String functions | ** [[Scripting/SString]] String functions |
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.
Most of these API designs have been modelled after the API already used by Unity3D to allow existing developers easier familiarity with space.
Full Class List (Automated Documentation): http://space-files.s3.amazonaws.com/docs/client-scripting/annotated.html
Coming soon
|