API reference

ReactiveValue Class

A wrapper that notifies subscribers when its value changes.
Subscribers receive the current value immediately upon subscribing.

Properties

Value : TValue
[Get][Set]
Signature
TValue Oculus.Interaction.Locomotion.ReactiveValue< TValue >.Value
WhenChanged : Action< TValue >
Notifies about the value change.
The current value is notified immediately upon subscription.
Signature
Action<TValue> Oculus.Interaction.Locomotion.ReactiveValue< TValue >.WhenChanged