文档

Unity Engine

Unity Engine

Manual

Sets the Composite Collider geometry to not automatically update when a Collider used by the Composite Collider changes.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
Manual = 1

Remarks

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.