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.GenerateGeometry

Switch to Manual
public void GenerateGeometry();

Description

Regenerates the Composite Collider geometry.

Call this function when you use CompositeCollider2D.GenerationType.Manual.