기술 자료

Unity Engine

Unity Engine

thisRigidbody

The Rigidbody of the collider of the GameObject which received the Collision event (Read Only).
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public Rigidbody thisRigidbody { get; }

Remarks

The Rigidbody of the collider of the GameObject which received the Collision event. If there is no Rigidbody component attached, this returns
null
.