usedByEffector
Whether the collider is used by an attached effector or not.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public bool usedByEffector { get; set; }
Remarks
When checked, the Collider2D continues to work as a collision or trigger area however it will also be used by any Effector2D on the same GameObject.