ドキュメント

Unity Engine

Unity Engine

drawDepth

The depth this body is drawn at, in world space, along the axis perpendicular to the world's transform plane.
読み終わるまでの所要時間 1 分最終更新 22日前

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.