Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

PhysicsEvents

struct in UnityEngine.LowLevelPhysics2D

/

Implemented in:UnityEngine.Physics2DModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Various events that can be retrieved during and after the simulation has completed. See PhysicsWorld.Simulate and PhysicsWorld.Simulate.

Events

Event Description
PostSimulate Event callback for a post-simulate event. This is called after the simulation has finished running and is always called on the main-thread. See PostSimulateEventHandler.
PreSimulate Event callback for a pre-simulate event. This is called prior to the simulation running and is always called on the main-thread. See PreSimulateEventHandler.

Delegates

Delegate Description
PostSimulateEventHandler Event handler for a post-simulate event callback. This is called after the simulation has finished running and is always called on the main-thread. See PhysicsWorld and PhysicsEvents.PostSimulate.
PreSimulateEventHandler Event handler for a pre-simulate event callback. This is called prior to the simulation running and is always called on the main-thread. See PhysicsWorld and PhysicsEvents.PreSimulate.