LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

CompositeCollider2D.GetPathPointCount

Switch to Manual
public int GetPathPointCount(int index);

Parameters

indexThe index of the path from 0 to pathCount.

Returns

int Returns the number of points in the path specified by index.

Description

Gets the number of points in the specified path from the Collider by its index.

See Also: GetPath & pathCount.