Should the player be running when the application is in the background?
Default is false (application pauses when it is in background).
// Make the game run even when in backgroundApplication.runInBackground = true;
using UnityEngine;using System.Collections;public class example : MonoBehaviour { void Example() { Application.runInBackground = true; }}
import UnityEngineimport System.Collectionsclass example(MonoBehaviour): def Example(): Application.runInBackground = true