This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

Port.ContainsPoint

Declaration

public bool ContainsPoint(Vector2 localPoint);

Parameters

localPoint The 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.