文档

Unity Engine

Unity Engine

HitTest(Vector2)

Determines whether the specified point is within the selectable area of the Scope.
阅读时间1 分钟最后更新于 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.