기술 자료

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분최근 업데이트: 22일 전

Definition

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