Documentation

Unity Engine

Unity Engine

Draw()

Draw this joint's current state once, as custom drawing.
Read time 1 minuteLast updated 18 days ago

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public void Draw()

Remarks

Unlike PhysicsHingeJoint.selectedDrawing, this does not persist: it draws once and is gone once every Scene/Game view has painted.