Ashasekayi (Talk | contribs) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 21: | Line 21: | ||
** [[Scripting/SWebService]] HTTP Requests & Web Services | ** [[Scripting/SWebService]] HTTP Requests & Web Services | ||
** [[Scripting/SNetwork]] Networking functions (network persisting variables, etc) | ** [[Scripting/SNetwork]] Networking functions (network persisting variables, etc) | ||
− | ** [[Scripting/SPersistence]] Persistence functions (save/retrieve state information permanently | + | ** [[Scripting/SPersistence]] Persistence functions (save/retrieve state information permanently to player) |
+ | ** [[Scripting/SShared]] IPC functions | ||
==Data Types== | ==Data Types== | ||
Line 40: | Line 41: | ||
* [[Scripting/SAudioSource]] Audio Source & Playback | * [[Scripting/SAudioSource]] Audio Source & Playback | ||
* [[Scripting/SCamera]] Camera controls (e.g. Field of View, Orthographic rendering, etc.) | * [[Scripting/SCamera]] Camera controls (e.g. Field of View, Orthographic rendering, etc.) | ||
+ | * [[Scripting/SClickable]] Actions triggered by clicking on the GameObject | ||
* [[Scripting/SCollider]] | * [[Scripting/SCollider]] | ||
− | * [[Scripting/SLight]] | + | * [[Scripting/SLight]] Access to the Light properties. |
** [[Scripting/SLightType]] | ** [[Scripting/SLightType]] | ||
* [[Scripting/SNavMeshAgent]] | * [[Scripting/SNavMeshAgent]] | ||
* [[Scripting/SParticleSystem]] | * [[Scripting/SParticleSystem]] | ||
− | * [[Scripting/SRenderer]] | + | * [[Scripting/SRenderer]] Access to the renderer of an object. |
* [[Scripting/SRigidbody]] | * [[Scripting/SRigidbody]] | ||
* [[Scripting/SUIText]] | * [[Scripting/SUIText]] |
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
|