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.CommonAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
Parameters
- pixels
- Type: System Single
pixels for "normal" screens
Return Value
pixels for the current screen densitySee Also