# deviceLoaded

> Subscribe a delegate to this event to get notified when an XRDevice is successfully loaded.

## Definition

* **Type:** Event
* **Namespace:** [UnityEngine.XR](/engine/6000.3/script-reference/unityengine/xr.md)
* **Assembly:** UnityEngine.VRModule

> **Warning:**
>
> **Deprecated.** UnityEngine.VRModule is deprecated and will be removed in a future version. Please use the APIs in the UnityEngine.XRModule instead

```csharp
public static event Action<string> deviceLoaded
```

### Remarks

In order to change the currently loaded device or reload the current device, use [XRSettings.LoadDeviceByName](/engine/6000.3/script-reference/unityengine/xr/xrsettings/loaddevicebyname.md).
