SetDensity(float, bool)
Set the shape density. See PhysicsBody.massConfiguration.
읽는 시간 1분최근 업데이트: 21일 전
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public void SetDensity(float density, bool updateBodyMass)