Should the Player be running when the application is in the background?
默认值为 false(应用程序在后台时将暂停)。
**注意**:在 Android 和 iOS 上,将忽略此属性。
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Example() { Application.runInBackground = true; } }