Version: 2019.1
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.