Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ClearDrawSelected()

Clear the selected drawing state on every body, shape and joint in the world.
Read time 1 minuteLast updated 14 days ago

Definition

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

Remarks

This clears every selected drawing state in the world regardless of who set it. See _selectedDrawing, _selectedDrawing and _selectedDrawing.