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

ISelectable.HitTest

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

参数

localPoint 点。

返回

bool 如果在目标上,则为 true。

描述

查看点是否在目标上。