Version: 2020.3
Method group is Obsolete

Physics2D.changeStopsCallbacks

切换到手册
Obsolete public static bool changeStopsCallbacks ;

描述

Set whether the reporting of collisions callbacks immediately stops if any of the objects involved in the collision are deleted or moved.

此属性用于控制以下情况:在碰撞回调期间,如果删除或移动了参与该特定回调的 Collider2D 或 Rigidbody2D,是否继续该接触的回调。

另请参阅:Collider2D、Rigidbody2D。

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961