NGUtil Scale Method ()ScoreFlash API Documentation V4.6.0
Automatically scales your pixel definitions for widths, heights or relative screen positions for high density (e.g. Retina) displays. This either returns pixels, as it is, or pixels * 2 if we have a high density display.

Namespace: NarayanaGames.Common
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax

public static Vector2 Scale(
	Vector2 pixels
)

Parameters

pixels
Type: Vector2
position for "normal" screens

Return Value

position for the current screen density
See Also