SSeat

Index

Functions Index

Function Name

void SitPlayer ()

void OnStandUp (Closure e)

void OnSit (Closure e)

void OnPlayerStandUp (Closure e)

void OnPlayerSit (Closure e)

Properties Index

Property Name

bool Enabled get set

bool InUse get

bool UseSlotID get set

string SlotID get set

SCollider ClickableCollider get set

SResource Animation get set

SResource AnimationMale get set

SResource AnimationFemale get set

SGameObject GameObject get

Functions

SitPlayer

void SitPlayer ()

Make a player sit.

Parameter
Type
Description

UnseatPlayer

void UnseatPlayer ()

Make a player unseat.

Parameter
Type
Description

OnStandUp

void OnStandUp (Closure e)

Binds a function to the Seat's On Stand Up event

Parameter
Type
Description

OnSit

void OnSit (Closure e)

Binds a function to the Seat's On Sit event

Parameter
Type
Description

OnPlayerStandUp

void OnPlayerStandUp (Closure e)

Binds a function to the Seat's On Player Stand Up event which is fired only on the Player's client

Parameter
Type
Description

OnPlayerSit

void OnPlayerSit (Closure e)

Binds a function to the Seat's On Player Sit event which is fired only on the Player's client

Parameter
Type
Description

Properties

Enabled

bool Enabled get set

Whether the seat component is enabled.

InUse

bool InUse get

Return that whether the seat is in use.

PlayerSeated

long PlayerSeated get

Return the ID of the seating player.

UseSlotID

bool UseSlotID get set

Return true if uses SlotID

SlotID

string SlotID get set

Return the slot ID of the seat.

ClickableCollider

SCollider ClickableCollider get set

Return the clickable collider.

Animation

SResource Animation get set

Return the animation clip.

AnimationMale

SResource AnimationMale get set

No Description

AnimationFemale

SResource AnimationFemale get set

No Description

GameObject

SGameObject GameObject get

Property Description

Last updated

Was this helpful?