Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

RaycastHit.transform

public Transform transform;

Description

The Transform of the rigidbody or collider that was hit.

Did you find this page useful? Please give it a rating: