This version of Unity is unsupported.

SleepTimeout.NeverSleep

public static int NeverSleep;

Description

Prevent screen dimming.