Tanoda
Leap.Unity.AutoValueProxy Class Referenceabstract

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. More...

Inheritance diagram for Leap.Unity.AutoValueProxy:
Leap.Unity.IValueProxy

Public Member Functions

abstract void OnPullValue ()
 Called when this proxy should pull from the target object into its serialized representation. More...
 
abstract void OnPushValue ()
 Called when this proxy should push its serialized representation out to the target object. More...
 
void OnPushValue ()
 Called when this proxy should push its serialized representation out to the target object. More...
 
void OnPullValue ()
 Called when this proxy should pull from the target object into its serialized representation. More...
 

Properties

bool autoPushingEnabled [get, set]
 

Detailed Description

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.

Definition at line 46 of file IValueProxy.cs.

Member Function Documentation

◆ OnPullValue()

abstract void Leap.Unity.AutoValueProxy.OnPullValue ( )
pure virtual

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

Implements Leap.Unity.IValueProxy.

◆ OnPushValue()

abstract void Leap.Unity.AutoValueProxy.OnPushValue ( )
pure virtual

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

Implements Leap.Unity.IValueProxy.

Property Documentation

◆ autoPushingEnabled

bool Leap.Unity.AutoValueProxy.autoPushingEnabled
getset

Definition at line 50 of file IValueProxy.cs.


The documentation for this class was generated from the following file: