Version: 2019.3
public bool IsPointerOverGameObject (int pointerId);

パラメーター

pointerIdPointer ID.

説明

Is the pointer with the given ID over an EventSystem object?

If the module is pointer based, you can override it to return true if the pointer is over an EventSystem object.

See EventSystem.IsPointerOverGameObject.