Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HitTest(Vector2)

Determines whether the specified point is within the selectable area of the Scope.
Read time 1 minuteLast updated 11 days ago

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.