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

Port.ContainsPoint

切换到手册
public bool ContainsPoint (Vector2 localPoint);

参数

localPoint点。

返回

bool 如果点在端口之上,则为 true。

描述

检查点是否在端口之上。用于选择和悬停。