Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


staticBodyCount

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

Definition

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