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.GenerationType.Manual

Switch to Manual

Description

Sets the Composite Collider geometry to not automatically update when a Collider used by the Composite Collider changes.

Use this enumeration value to set the Composite Collider geometry to only be able to be updated manually when a Collider used by the Composite Collider changes.

Call [[CompositeCollider2D::GenerateGeometry]] to manually update the Composite Collider.