Version: 2023.2
言語: 日本語
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).

Additional resources: MonoBehaviour.OnApplicationFocus.