IMixedRealityService.Initialize Method


The initialize function is used to setup the service once created. This method is called once all services have been registered in the Mixed Reality Toolkit.

 void Initialize();
public void Initialize ();
abstract member Initialize : unit -> unit
Public Sub Initialize ()


This will run both in edit mode and in play mode. Gate code behind Application.isPlaying if it should only run in one or the other.

Applies to