ReleaseLastSimulationStepBuffers()
Clear and deallocate the simulation results.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public void ReleaseLastSimulationStepBuffers()
Remarks
Calling this method will result in all simulation result buffers used by this PhysicsScene to be deallocated. The method offers a manual alternative to the result clearing options present in the physics settings pane.