Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Closerect | Rectangle to check. |
p1 | Line segment point 1. |
p2 | Line segment point 2. |
bool True if line segment overlaps rectangle. False otherwise.
Check if a line segment overlaps a rectangle.