ドキュメント

Unity Engine

Unity Engine

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.