기술 자료

Unity Engine

Unity Engine

Create(Vector2, Vector2)

Create a Segment.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public static SegmentGeometry Create(Vector2 point1, Vector2 point2)

Parameters

point1

The first local point.

point2

The second local point.

Returns

Type

Description

SegmentGeometryThe created geometry.