Click or drag to resize

TouchButtonSetDefaultPosition Method

Record the current anchored position as the button's default position. The button will return to this position when released when using a Touch Region with moveToTouchPosition set to True. If you move the button's position and want it to return there next time, you should record the new default position by calling this method.

Namespace:  Rewired.ComponentControls
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void SetDefaultPosition()
See Also