Version: 2019.1
Experimental: this API is experimental and might be changed or removed in the future.

Port.ContainsPoint

Switch to Manual
public bool ContainsPoint (Vector2 localPoint);

Parameters

localPointThe point.

Returns

bool True if the point is over the port.

Description

Check if point is on top of port. Used for selection and hover.