기술 자료

Unity Engine

Unity Engine

selectedDrawing

Controls whether this joint is drawn individually when the world is drawn.
읽는 시간 1분최근 업데이트: 22일 전

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public bool selectedDrawing { get; set; }

Remarks

The joint is only drawn when the world draw options include PhysicsWorld.DrawOptions.SelectedJoints; changing the draw options never changes this state. The state persists until set to false, the joint is destroyed, or PhysicsWorld.ClearDrawSelected clears the whole world. The joint must also have PhysicsJoint.worldDrawing enabled to be drawn.