|
Sinespace Client 2025.6.499
Client-side scripting for Sinespace
|
Public Member Functions | |
| void | SitPlayer () |
| Make a player sit. | |
| void | UnseatPlayer () |
| Make a player unseat. | |
| void | OnStandUp (Closure e) |
| void | OnSit (Closure e) |
| void | OnPlayerStandUp (Closure e) |
| void | OnPlayerSit (Closure e) |
Public Member Functions inherited from ScriptClassWrapper< T > | |
| override void | Initialise (SScript runtime, object wrapper) |
Public Member Functions inherited from ScriptClass | |
| void | ReportError (string error, bool fatal, UnityEngine.Object target=null) |
| void | Initialise (SScript runtime, object wrapper) |
Properties | |
| bool | Enabled [get, set] |
| Whether the seat component is enabled or not. | |
| bool | InUse [get] |
| Return that whether the seat is in use. | |
| long | PlayerSeated [get] |
| Return the ID of the seating player. | |
| bool | UseSlotID [get, set] |
| Return true if uses SlotID. | |
| string | SlotID [get, set] |
| Return the slotID of the seat. | |
| SCollider | ClickableCollider [get, set] |
| Return the clickable collider. | |
| SResource | Animation [get, set] |
| Return the animation. | |
| SResource | AnimationMale [get, set] |
| Return the male animation. | |
| SResource | AnimationFemale [get, set] |
| Return the female animation. | |
Properties inherited from ScriptClassComponent< T > | |
| SGameObject | GameObject [get] |
| Return the GameObject which component added. | |
Properties inherited from ScriptClass< T > | |
| override bool | Alive [get] |
| Return if the component is alive. | |
Properties inherited from ScriptClassWrapper< T > | |
| T | _wrap [get] |
Properties inherited from ScriptClass | |
| virtual bool | Alive [get] |
| DynValue | CachedData [get, set] |
Additional Inherited Members | |
Protected Member Functions inherited from ScriptClass | |
| void | Initialise (SScript runtime) |
| void SineSpace.Scripting.Components.SSeat.OnPlayerSit | ( | Closure | e | ) |
| void SineSpace.Scripting.Components.SSeat.OnPlayerStandUp | ( | Closure | e | ) |
| void SineSpace.Scripting.Components.SSeat.OnSit | ( | Closure | e | ) |
| void SineSpace.Scripting.Components.SSeat.OnStandUp | ( | Closure | e | ) |
| void SineSpace.Scripting.Components.SSeat.SitPlayer | ( | ) |
Make a player sit.
| void SineSpace.Scripting.Components.SSeat.UnseatPlayer | ( | ) |
Make a player unseat.
|
getset |
Return the animation.
|
getset |
Return the female animation.
|
getset |
Return the male animation.
|
getset |
Return the clickable collider.
|
getset |
Whether the seat component is enabled or not.
|
get |
|
get |
Return the ID of the seating player.
|
getset |
|
getset |