Documentation

Unity Engine


Unity Engine


drawTarget

Controls which Unity editor views the 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 PhysicsWorld.drawTarget.
Read time 1 minuteLast updated 15 days ago

Definition

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