Method IsRayVisible
IsRayVisible(Transform)
Returns whether the specified ray is visible
Declaration
bool IsRayVisible(Transform rayOrigin)
Parameters
Type | Name | Description |
---|---|---|
Transform | rayOrigin | The rayOrigin that is being checked |
Returns
Type | Description |
---|---|
bool | Whether the ray is visible |