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 PhysicsWorld.WorldCapacity.MaxCapacity is clamped to it when used to presize another world.
読み終わるまでの所要時間 1 分最終更新 21日前
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public PhysicsWorld.WorldCapacity capacity { get; }