기술 자료

Unity Engine

Unity Engine

HitTest(Vector2)

Determines whether the specified point is within the selectable area of the Scope.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public override bool HitTest(Vector2 localPoint)

Parameters

localPoint

The point in local coordinates.

Returns

Type

Description

boolReturns true if the point is within the selectable area of the Scope. Returns false otherwise.