文档

Unity Engine

Unity Engine

drawTarget

Controls which Unity editor views this joint is drawn into.
阅读时间1 分钟最后更新于 22 天前

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public PhysicsWorld.DrawTarget drawTarget { get; set; }

Remarks

See PhysicsJoint.drawTarget for how this combines with the world's own draw target.