maximumWorldsAllocated
Get the actual allocated maximum worlds available. This can differ at runtime from PhysicsCoreSettings2D.maximumWorlds if it was changed and the physics system has not been restarted. Another reason this can differ would be if there was not available memory to allocate the requested maximum worlds.
Read time 1 minuteLast updated 15 days ago
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public static int maximumWorldsAllocated { get; }