Gets info on the last 2d Raycast or LineCast and store in variables.
Game Object Hit
Get the GameObject hit by the last Raycast and store it in a variable.
Point
Get the world position of the ray hit point and store it in a variable.
Normal
Get the normal at the hit point and store it in a variable.
Distance
Get the distance along the ray to the hit point and store it in a variable.
Every Frame
Repeat every frame.