Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsEvents.WorldDrawResultsEventHandler

Event handler for a world draw results event callback. This is only called if the world is currently rendering as specified by _renderingMode or if _alwaysDrawWorlds is true. CAUTION: The world is READ locked during this event so ANY write operation on the world will cause an immediate deadlock.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Delegate
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public delegate void PhysicsEvents.WorldDrawResultsEventHandler(PhysicsWorld world, ref PhysicsWorld.DrawResults drawResults)