Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


drawTarget

Controls which Unity editor views this world is drawn into (Scene view, Game view or both). This only filters the built-in viewport rendering; it does not control whether drawing occurs at all. See _drawTarget.
Read time 1 minuteLast updated 12 days ago

Definition

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