Version: 2023.2

Sprite.GetPhysicsShapePointCount

切换到手册
public int GetPhysicsShapePointCount (int shapeIdx);

参数

shapeIdx 要从其检索点数的物理形状的索引。

返回

int Returns the number of points in the selected physics shape for the sprite.

描述

Retrieves the number of points in the selected physics shape for the sprite.