Version: 2022.1
言語: 日本語
public static bool isBatchMode ;

説明

Returns true when Unity is launched with the -batchmode flag from the command line (Read Only).

using UnityEngine;

public class Example : MonoBehaviour { void Start() { if (Application.isBatchMode) { Debug.Log("In BatchMode"); } } }