RaycastHit2D.transform
var transform: Transform;
Transform transform;
transform as Transform
Description

The Transform of the object that was hit.

See Also: Transform class.