Overview
Touch Down & Up prefabs create a feedback interaction when the user touches an object, then resets all properties to their default values when the user removes their touch.
Add a Touch Down & Up prefab to the object you want the touch up & down applied to.
Prefab Controls
Scale
Set the object's scale on touch down.
Opacity
Set the object's opacity on touch down.
Offset X
Set the object's X offset on touch down.
Offset Y
Set the object's Y offset on touch down.
Rotate
Set the object's Z rotation on touch down.
Spring
Set the spring amount. Higher spring values bounce more, while lower spring values bounce less.
Duration
Set the length of the animation.
Down Haptic
Choose if a light impact haptic should play when the user touches the object.
Up Haptic
Choose if a light impact haptic should play when the user removes their touch.
Resources
Projects:
Touch Up & Down (Prefab Learn project)