Sinespace Client 2025.3.19431
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) |
![]() | |
override void | Initialise (SScript runtime, object wrapper) |
![]() | |
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. | |
![]() | |
SGameObject | GameObject [get] |
Return the GameObject which component added. | |
![]() | |
override bool | Alive [get] |
Return if the component is alive. | |
![]() | |
T | _wrap [get] |
![]() | |
virtual bool | Alive [get] |
DynValue | CachedData [get, set] |
Additional Inherited Members | |
![]() | |
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 |