wiki.sine.space | sinespace

Difference between revisions of "Scripting/Reference"

From wiki.sine.space
Jump to: navigation, search
(Data Types)
(Component Classes)
Line 42: Line 42:
 
* [[Scripting/SCollider]]
 
* [[Scripting/SCollider]]
 
* [[Scripting/SLight]]
 
* [[Scripting/SLight]]
 +
** [[Scripting/SLightType]]
 
* [[Scripting/SNavMeshAgent]]
 
* [[Scripting/SNavMeshAgent]]
 
* [[Scripting/SParticleSystem]]
 
* [[Scripting/SParticleSystem]]
Line 47: Line 48:
 
* [[Scripting/SRigidbody]]
 
* [[Scripting/SRigidbody]]
 
* [[Scripting/SUIText]]
 
* [[Scripting/SUIText]]
 +
* [[Scripting/STerrain]]
 +
* [[Scripting/SSkinnedMeshRenderer]]
 +
* [[Scripting/SMeshRenderer]]
 +
* [[Scripting/SRectTransform]]
 +
* [[Scripting/SSceneBackgroundMusic]] (note: may rename to SRadio)
  
 
==Resources==
 
==Resources==

Revision as of 16:52, 19 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.

Most of these API designs have been modelled after the API already used by Unity3D to allow existing developers easier familiarity with space.

Classes

Data Types

Library Classes

Component Classes

Resources

External Events

Server Scripting Function Reference

Coming soon