◆ Observable() [2/2]

EdgeMultiplay.Observable.Observable ( Transform  targetTransform,
SyncOptions  syncOption,
bool  interpolatePosition,
bool  interpolateRotation,
float  interpolationFactor 
)

Observable Constructor

Parameters
targetTransformThe Transform you want to Sync its position and/or rotation
syncOptionSynchronization Option
interpolatePositionSet to true if you want to smoothen the tracked rotation if there is network lag
interpolateRotationSet to true if you want to smoothen the tracked rotation if there is network lag
interpolationFactorSet Interpolation factor value between 0.1 and 1