Event wantsToRestart
This event is raised when OpenXR Runtime wants to restart the XR loader by shutting down the loader and reinitializing it.
Return true and the restart process will continue. Return false and the XR loader will be unloaded and the quit process will begin.
Namespace: UnityEngine.XR.OpenXR
Assembly: solution.dll
Syntax
public static event Func<bool> wantsToRestart
Returns
Type | Description |
---|---|
Func<bool> |