Class Leap::Unity::AutoValueProxy

class Leap.Unity.AutoValueProxy : public MonoBehaviour, public Leap.Unity.IValueProxy

A helpful implementation of IValueProxy. The class is a monobehaviour and so can be attached to game objects. Auto-pushing can also be turned on and off. When Auto-pushing is enabled, the behaviour will push the value on every LateUpdate.

Public Functions

virtual abstract void OnPullValue ()

Called when this proxy should pull from the target object into its serialized representation.

virtual abstract void OnPushValue ()

Called when this proxy should push its serialized representation out to the target object.