Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


transformObject

Get/Set the transform object associated with the body. This can be used as a write transform and/or as a depth-hint for PhysicsWorld drawing. See _transformWriteMode.
Read time 1 minuteLast updated 6 days ago

Definition

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