Version: 5.6
public static bool isFocused ;

説明

Whether the player currently has focus. Read-only.

In the editor, this corresponds to whether the game view has focus (regardless of whether the editor is in play mode or not).

See Also: MonoBehaviour.OnApplicationFocus.