Unity Engine documentationScript ReferenceUnityEngineRaycastHittransformThe Transform of the rigidbody or collider that was hit.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEngine Assembly: UnityEngine.PhysicsModule public Transform transform { get; } Remarks Additional Resources: Physics.Raycast, Physics.Linecast, Physics.RaycastAll.