GetPhysicsShapePointCount(int)
Retrieves the number of points in the selected physics shape for the sprite.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public int GetPhysicsShapePointCount(int shapeIdx)
Parameters
The index of the physics shape to retrieve the number of points from.
Returns
Type | Description |
|---|---|
| int | Returns the number of points in the selected physics shape for the sprite. |