EarlyUpdate.ProcessMouseInWindow
Native Player loop system that updates whether the mouse cursor is inside the application window.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.PlayerLoop
- Assembly: UnityEngine.CoreModule
public struct EarlyUpdate.ProcessMouseInWindow
Remarks
This system isn't active on Windows, or in Players on macOS, where Unity tracks the cursor with window events instead. It also isn't active in batch mode.
This struct identifies a native system in the Player loop. It has no members, and the system's update logic runs in native engine code. Use this type with PlayerLoopSystem.type to find the system when you reorder, replace, or remove it in a custom Player loop. For more information, refer to Customizing the Player loop.