文档

Unity Engine

Download Unity

Unity Engine

dynamicBodyCount

The expected number of dynamic and kinematic bodies, in the range zero to PhysicsWorld.WorldCapacity.MaxCapacity. Values outside that range are clamped into it.
阅读时间1 分钟最后更新于 1 个月前

Definition

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