Click or drag to resize

TiltControlSetAccelerationSourceCallback Method

Replaces the default input source for the acceleration value. Sets the delegate callback which will be invoked to retrieve the acceleration value.

Namespace: Rewired.ComponentControls
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void SetAccelerationSourceCallback(
	Func<Vector3> callback
)

Parameters

callback  FuncVector3
The callback delegate.
See Also