Rect.Containsfunction Contains (point : Vector2) : booleanfunction Contains (point : Vector3) : booleanDescriptionReturns true if the x and y components of point is a point inside this rectangle.
JavaScript
// prints inside when mouse is in lower left corner using UnityEngine; import UnityEngine |
