Event wantsToQuit
This event is raised when OpenXR wants the application to quit.
Note that this event is raised before Application.wantsToQuit is raised and is generally raised because the Runtime has requested the application quit.
Return true and the quit process will continue. Return false and the quit process will cancel.
Namespace: UnityEngine.XR.OpenXR
Assembly: solution.dll
Syntax
public static event Func<bool> wantsToQuit
Returns
Type | Description |
---|---|
Func<bool> |