Version: 2019.2
public bool IsRaycastLocationValid (Vector2 sp, Camera eventCamera);

Parameters

spScreen position.
eventCameraRaycast camera.

Returns

bool Valid.

Description

Given a point and a camera is the raycast valid.