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.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public static int maximumWorldsAllocated { get; }