ScreenToPixel() public static method

public static ScreenToPixel ( Vector2 screenPosition, Transform transform, Sprite sprite ) : IntVector2
screenPosition Vector2
transform UnityEngine.Transform
sprite UnityEngine.Sprite
return Assets.RagePixel2.Editor.Utility.IntVector2
Beispiel #1
0
 public Vector2Int ScreenToPixel(Vector2 screenPosition, bool clamp)
 {
     return(Utility.ScreenToPixel(screenPosition, Transform, Sprite, clamp));
 }
Beispiel #2
0
 public IntVector2 ScreenToPixel(Vector2 screenPosition, bool clamp)
 {
     return(Utility.ScreenToPixel(screenPosition, transform, sprite, clamp));
 }