UnityEngine.RectTransformUtility.RectangleContainsScreenPoint C# (CSharp) Method

RectangleContainsScreenPoint() public static method

public static RectangleContainsScreenPoint ( RectTransform rect, Vector2 screenPoint ) : bool
rect RectTransform
screenPoint Vector2
return bool
        public static bool RectangleContainsScreenPoint(RectTransform rect, Vector2 screenPoint)
        {
            return RectangleContainsScreenPoint(rect, screenPoint, null);
        }

Same methods

RectTransformUtility::RectangleContainsScreenPoint ( RectTransform rect, Vector2 screenPoint, Camera cam ) : bool

Usage Example

コード例 #1
0
 public static bool RectangleContainsScreenPoint(RectTransform rect, Vector2 screenPoint)
 {
     return(RectTransformUtility.RectangleContainsScreenPoint(rect, screenPoint, null));
 }
All Usage Examples Of UnityEngine.RectTransformUtility::RectangleContainsScreenPoint