wiki.sine.space | sinespace

Difference between revisions of "Scripting/Reference"

From wiki.sine.space
Jump to: navigation, search
(Data Types)
(Data Types)
Line 26: Line 26:
 
* [[Scripting/SPhysicsHit]] Stores hits occurring in the physics subsystems (e.g. Raycast Hits, Collider Hits, etc)
 
* [[Scripting/SPhysicsHit]] Stores hits occurring in the physics subsystems (e.g. Raycast Hits, Collider Hits, etc)
 
* [[Scripting/SWebResponse]] Stores the response from a Web Request
 
* [[Scripting/SWebResponse]] Stores the response from a Web Request
 +
* [[Scripting/SNetworkMessage]] A network message received from another script
  
 
==Library Classes==
 
==Library Classes==

Revision as of 13:29, 17 January 2017

Note: Scripting is arriving in Editor Pack 9, due for release on January 25th

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. 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

Data Types

Library Classes

Component Classes

Resources

External Events

Server Scripting Function Reference

Coming soon