CompositeCollider2D.GenerationType
Specifies when to generate the Composite Collider geometry.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public enum CompositeCollider2D.GenerationType
Remarks
Controls when the Composite Collider geometry is updated when a Collider used by a Composite Collider changes.
Additional Resources: _generationType
Fields
Value | Description |
|---|---|
| Manual | Sets the Composite Collider geometry to not automatically update when a Collider used by the Composite Collider changes. |
| Synchronous | Sets the Composite Collider geometry to update synchronously immediately when a Collider used by the Composite Collider changes. |