Skip to main content

GrabAssistEventData

A struct in Root.Township, the global namespace.

Data sent with GrabAssistController.GrabAssistUpdated each time the grab assist target is rechecked.

Constructors​

MemberWhat it is
GrabAssistEventData(bool success, Vector3 origin, Vector3 target, float length)Creates a GrabAssistEventData from success, origin, target and length.

Fields​

MemberWhat it is
readonly float lengthLength of the assist search after checking for obstacles.
Vector3 originWhere the assist search starts.
readonly bool successWhether a grab target was found.
Vector3 targetTarget position: the found target, or the end of the search.

Used in​

Members of other types that take, return or hold a GrabAssistEventData: