文档

Unity Engine

Unity Engine

pointB

A point on a Collider2D that is a specific ColliderDistance2D.distance away from ColliderDistance2D.pointA.
阅读时间1 分钟最后更新于 21 天前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public Vector2 pointB { get; set; }

Remarks

This point lies on the exterior surface of a Collider2D.