文档

Unity Engine

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 PhysicsBody.transformWriteMode.
阅读时间1 分钟最后更新于 21 天前

Definition

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