Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


contactCount

The expected number of contacts, in the range zero to PhysicsWorld.WorldCapacity.MaxCapacity. Values outside that range are clamped into it.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public int contactCount { readonly get; set; }