Documentation

Unity Engine

Download Unity

Unity Engine

hitEvents

Controls whether this shape produces hit events which can be retrieved after the simulation has completed.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public bool hitEvents { get; set; }