RaycastHit.transform
public Transform transform;
Description 描述
The Transform of the rigidbody or collider that was hit.
See Also: Physics.Raycast, Physics.Linecast, Physics.RaycastAll.
The Transform of the rigidbody or collider that was hit.
See Also: Physics.Raycast, Physics.Linecast, Physics.RaycastAll.