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 分最終更新 21日前
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public static int maximumWorldsAllocated { get; }