Version: 2020.3
언어: 한국어

RectTransformUtility.RectangleContainsScreenPoint

매뉴얼로 전환
public static bool RectangleContainsScreenPoint (RectTransform rect, Vector2 screenPoint, Camera cam);

파라미터

rect The RectTransform to test with.
screenPoint The screen point to test.
cam The camera from which the test is performed from. (Optional)

반환

bool True if the point is inside the rectangle.

설명

Does the RectTransform contain the screen point as seen from the given camera?