Repository navigation
How to access MRTK 3 profile that is present in project settings via code at runtime #11571
Replies: 3 comments 1 reply
|
Hi Ramannamalai RM (@Ram1508) , thank you for your question. Can you clarify your scenario and what you are trying to do? You can't access the MRTK3 configuration at runtime, but you can access the corresponding sub-systems. Are you trying to access a particular sub-system at runtime? |
|
Hi Adam Mollis (@AMollis), Scenario I am trying to build my project on hololens 2 and quest 2, but there are certain subsystems that needed on one and not on another including the custom made subsystem. So instead of maintaining a same profile and enable/disable the subsystems, I thought of maintaining different pre made profile with required subsystems being enabled so that one just need to assign the profile based upon the target device. Steps I tried Using this I was able to change the instance of profile at runtime. But I also wanted it to reflect on the editor screen. 2.MRTKSettingsEditor.cs OnInspectorGUI() function checks for the assignment of profile and assign default profile if not. Is there anyotherway to achieve this? |
|
Adam Mollis (@AMollis) thanks for the reply, |



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Adam Mollis (@AMollis)

I need to change the profile based on the target device to provide related service .
All reactions