ドキュメント

Unity Engine

Download Unity

Unity Engine

changeStopsCallbacks

Set whether the reporting of collisions callbacks immediately stops if any of the objects involved in the collision are deleted or moved.
読み終わるまでの所要時間 1 分最終更新 2ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
注意
Removed. Physics2D.changeStopsCallbacks is obsolete and will always return false.
public static bool changeStopsCallbacks { get; set; }

Remarks

During a collision callback, if either a Collider2D or Rigidbody2D that is taking part in that particular callback is deleted or moved then this property controls whether callbacks will continue for this contact or not.
Additional Resources: Collider2D, Rigidbody2D.