Collider2D.usedByEffector

public bool usedByEffector;

Description

Whether the collider is used by an attached effector or not.

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答