isUiMode

abstract fun isUiMode(): Boolean

判断当前脚本是否以UI方式运行.

Return

如果脚本是以 ui 模式运行那么返回true, 否则返回false