Version: 2019.1
public static bool isPaused ;

説明

エディターが一時停止中かどうか

これはツールバーの [Pause] ボタンと同じ効果です。

See Also: isPlaying.

// Simple editor Script that confirms the running
// game is paused.

using UnityEditor; using UnityEngine;

public class isPausedExample { [MenuItem("Examples/Scene paused in play mode")] static void EditorPlaying() { if (EditorApplication.isPaused) { Debug.Log("Paused"); } } }