Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Draw()

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

Definition

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

Remarks

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