기술 자료

Unity Engine

Unity Engine

FromTo(Vector2, Vector2)

Calculate a Cast-Ray given two positions.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static PhysicsQuery.CastRayInput FromTo(Vector2 from, Vector2 to)

Parameters

The position the ray starts.

The position the ray ends.

Returns

Type

Description

CastRayInput