Class FlexalonDpiScaler
- Namespace
- Flexalon
- Assembly
- Flexalon.dll
This class is used to set the scale a canvas based on the pixel density of the screen.
[ExecuteAlways]
[AddComponentMenu("Flexalon/Flexalon DPI Scaler")]
public class FlexalonDpiScaler : MonoBehaviour
- Inheritance
-
objectObjectComponentBehaviourMonoBehaviourFlexalonDpiScaler
Methods
GetPixelDensity()
public static float GetPixelDensity()
Returns
- float