API reference
API reference
Select your platform
No SDKs available
No versions available

LocomotionSeatedSetting Class

Extends MonoBehaviour
Changes the height offset of the Locomotor if the player indicates that it is seated so it can remaing at standing height while using the experience.

Protected Fields

_started : bool
Signature
bool _started

Properties

SeatedHeightOffset : float
[Get][Set]
Signature
float SeatedHeightOffset

Protected Methods

OnDisable ()
Signature
virtual void OnDisable()
Returns
void
OnEnable ()
Signature
virtual void OnEnable()
Returns
void
Start ()
Signature
void Start()
Returns
void

Methods

InjectAllSeatedMode ( seated , standing , locomotor )
Signature
void InjectAllSeatedMode(Toggle seated, Toggle standing, CapsuleLocomotionHandler locomotor)
Parameters
seated: Toggle
standing: Toggle
Returns
void
InjectLocomotor ( locomotor )
Signature
void InjectLocomotor(CapsuleLocomotionHandler locomotor)
Parameters
Returns
void
InjectSeated ( seated )
Signature
void InjectSeated(Toggle seated)
Parameters
seated: Toggle
Returns
void
InjectStanding ( standing )
Signature
void InjectStanding(Toggle standing)
Parameters
standing: Toggle
Returns
void