rigidbody2D
The Rigidbody2D that is attached to the Component's GameObject.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public Component rigidbody2D { get; }
Remarks
This property will be null if no Rigidbody2D is attached.
Additional Resources: Component.rigidbody.