Draw()
Draw this shape's current state once, as custom drawing.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public void Draw()
Remarks
Unlike PhysicsShape.selectedDrawing, this does not persist: it draws once and is gone once every Scene/Game view has painted.