简述:Application.runInBackground=true;

626 阅读1分钟

Application.runInBackground 后台运行

static var runInBackground : bool

Description描述

Should the player be running when the application is in the background?

  • 应用程序在后台时是否应该被运行?

Default is false (application pauses when it is in background).

默认为假(当程序在后台时暂停)

C#
JavaScript

// Make the game run even when in background

// 让游戏在后台时也运行

Application.runInBackground = true;

文献资料: dev.gameres.com/program/Uni…