Collider2DInstance
此内容尚不支持你的语言。
Defined in: physics/ColliderShape2D.ts:44
A shape read off an entity, with the sensor flag the visualizers colour by and the enabled flag they decide by: a disabled collider is absent from the physics world, so the runtime overlay skips it while the editor keeps drawing it (you still author its geometry through the gizmo).
Properties
Section titled “Properties”enabled
Section titled “enabled”enabled:
boolean
Defined in: physics/ColliderShape2D.ts:47
isSensor
Section titled “isSensor”isSensor:
boolean
Defined in: physics/ColliderShape2D.ts:46
shape:
Collider2DShape
Defined in: physics/ColliderShape2D.ts:45