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

EdgeControl.ContainsPoint

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

参数

localPoint 点的位置。

返回

bool 如果点在边缘之上,则为 true。

描述

检查点是否在边缘之上。