Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ContainsPoint(Vector2)

Check if point is on top of edge.
Read time 1 minuteLast updated 10 days ago

Definition

public override bool ContainsPoint(Vector2 localPoint)

Parameters

localPoint

The point's position.

Returns

Type

Description

boolTrue if the point is on top of the edge.