drawDepth
The depth this body is drawn at, in world space, along the axis perpendicular to the world's transform plane.
阅读时间1 分钟最后更新于 24 天前
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public float drawDepth { readonly get; set; }
Remarks
The depth is only used when the body has no PhysicsBody.transformObject. See PhysicsBody.drawDepth.