This version of Unity is unsupported.

Resolution.width

public int width;

Description

Resolution width in pixels.