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
コード例 #1
0
ファイル: RagePixelState.cs プロジェクト: MaxEden/RagePixel2
 public Vector2 PixelToScreen(Vector2Int pixelPosition, bool clamp)
 {
     return(Utility.PixelToScreen(pixelPosition, Transform, Sprite, clamp));
 }
コード例 #2
0
 public Vector2 PixelToScreen(IntVector2 pixelPosition, bool clamp)
 {
     return(Utility.PixelToScreen(pixelPosition, transform, sprite, clamp));
 }