ドキュメント

Unity Engine

Unity Engine

allocatedWorldCapacity

Get the number of worlds currently allocated. The world array grows on demand, so this can exceed PhysicsCoreSettings2D.initialWorldCapacity and can also differ from it if that setting was changed without restarting the physics system.
読み終わるまでの所要時間 1 分最終更新 23日前

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public static int allocatedWorldCapacity { get; }