capacity
Get the current world capacities reached since the world was created. This reflects the peak object counts and can be used to presize a PhysicsWorldDefinition.capacity for similar worlds. Peaks are not capped, so a peak above 65535 is clamped to that maximum when used to presize another world.
읽는 시간 1분최근 업데이트: 24일 전
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public PhysicsWorld.WorldCapacity capacity { get; }