PixelToScreen() public static method

public static PixelToScreen ( IntVector2 pixelPosition, Transform transform, Sprite sprite ) : Vector2
pixelPosition Assets.RagePixel2.Editor.Utility.IntVector2
transform UnityEngine.Transform
sprite UnityEngine.Sprite
return Vector2
Esempio n. 1
0
 public Vector2 PixelToScreen(Vector2Int pixelPosition, bool clamp)
 {
     return(Utility.PixelToScreen(pixelPosition, Transform, Sprite, clamp));
 }
Esempio n. 2
0
 public Vector2 PixelToScreen(IntVector2 pixelPosition, bool clamp)
 {
     return(Utility.PixelToScreen(pixelPosition, transform, sprite, clamp));
 }