isFocused
Whether the Player currently has focus (Read Only).
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static bool isFocused { get; }
Remarks
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(bool).