Documentation

Unity Engine


Unity Engine


generationType

Specifies when to generate the Composite Collider geometry.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public CompositeCollider2D.GenerationType generationType { get; set; }

Remarks

The values in this enumeration allows you to control when the Composite Collider geometry updates when a Collider of that Composite Collider changes.