C# Class UnityCommonLibrary.Utility.RectUtility

Show file Open project: thebeardphantom/UnityCommonLibrary

Public Methods

Method Description
ClosestPointOnRect ( this rect, Vector2 point ) : Vector2

Method Details

ClosestPointOnRect() public static method

public static ClosestPointOnRect ( this rect, Vector2 point ) : Vector2
rect this
point UnityEngine.Vector2
return UnityEngine.Vector2