Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ContainsPoint(Vector2)

Check if point is on top of port. Used for selection and hover.
Read time 1 minuteLast updated 13 days ago

Definition

public override bool ContainsPoint(Vector2 localPoint)

Parameters

localPoint

The point.

Returns

Type

Description

boolTrue if the point is over the port.