Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

Screen.width

public static int width;

Description

This has the same functionality as Screen.width and also mimics platform-specific behavior in the Unity Editor.