Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add button to populate the profile field with the MRTK default #11259

Merged
merged 3 commits into from
Dec 1, 2022

Conversation

keveleigh
Copy link
Contributor

Overview

Unfortunately, when consuming MRTK via tarballs, Unity's asset picker doesn't include assets from immutable folders...

image

This change adds a button to the MRTK Profile inspector to auto-populate the field with the default profile that we ship

image

I also changed some asserts to full if/logs to prevent null refs and changed a class from internal to private to better fit its usage.

@Zee2
Copy link
Contributor

Zee2 commented Dec 1, 2022

I might be misinterpreting your description but doesn't this button show the assets from the immutable folder?

image

Super happy for this button though!

@keveleigh
Copy link
Contributor Author

@Zee2 No way! 🤯 You learn something new every day! Thanks!

image

@keveleigh keveleigh merged commit aa7bcaa into microsoft:mrtk3 Dec 1, 2022
@keveleigh keveleigh deleted the profile-helper branch December 1, 2022 17:07
drusk-unity pushed a commit to drusk-unity/MixedRealityToolkit-Unity that referenced this pull request Jun 26, 2023
…soft#11259)

* Update MRTKProfileInspector.cs

* Add button to populate the profile field with the MRTK default

* Prevent a null ref in the case of null profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants