shapeCount
Get the number of shapes attached to this body. Use PhysicsBody.GetShapes to retrieve the shapes.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public int shapeCount { get; }