文档

Unity Engine

Unity Engine

worldCount

Get the number of created worlds. This will be a value in the range of 1 to PhysicsWorld.allocatedWorldCapacity.
阅读时间1 分钟最后更新于 22 天前

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public static int worldCount { get; }