MixedRealityToolkit.SetProfileBeforeInitialization Method
Definition
Important
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.
Set the active profile prior to the initialization (i.e. Awake()) of MixedRealityToolkit
public:
static void SetProfileBeforeInitialization(Microsoft::MixedReality::Toolkit::MixedRealityToolkitConfigurationProfile ^ profile);
public static void SetProfileBeforeInitialization (Microsoft.MixedReality.Toolkit.MixedRealityToolkitConfigurationProfile profile);
static member SetProfileBeforeInitialization : Microsoft.MixedReality.Toolkit.MixedRealityToolkitConfigurationProfile -> unit
Public Shared Sub SetProfileBeforeInitialization (profile As MixedRealityToolkitConfigurationProfile)
Parameters
Remarks
If changing the Active profile after MixedRealityToolkit has been initialized, modify ActiveProfile of the active instance directly.
This function requires the caller script to be executed earlier than the MixedRealityToolkit script, which can be achieved by setting Script Execution Order settings.
You are strongly recommended to see here for more information on profile switching.