文档

Unity Engine

Unity Engine

capsuleGeometryArray

Retrieve the Capsule Geometry Element. Any new PhysicsWorld drawing will invalidate this data so referring to this data afterwards may cause an unavoidable crash! You must immediately extract what information you need and not directly reference the returned data as it will be cleared immediately after being provided.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public NativeArray<PhysicsWorld.DrawResults.CapsuleGeometryElement> capsuleGeometryArray { get; }