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

GraphElement.HitTest

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

参数

localPoint点。

返回

bool 如果点在 GraphElement 之上,则返回 true。否则返回 false。

描述

查看点是否在 GraphElement 之上。