Reality Service. Initialize Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public: 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.