Forum Discussion
drew.lietzenmayer
4 years agoHonored Guest
How to open Oculus Avatar Creator from game with Unity
Hello!
I am trying to open Oculus's Avatar creator from a link in my game. I have it detecting whether you have the default Avatar or a user created avatar. However, from what I've found searching on the net I have only seen a deep link as a way to open apps. However, that requires an appID and if Avatar Creator does have one I can not find it. Is there another way to handle this? Or an appID? Using Unity game engine.
Thanks!
3 Replies
Replies have been turned off for this discussion
- olaysiaExpert Protege
Hey Drew, try this:
AvatarEditorDeeplink.LaunchAvatarEditor() - sanya.teroshynHonored Guest
Hello!
How I`m can receive callback or event when user return from avatar editor to my app.
Thanks.- olaysiaExpert Protege
I wasn't able to find a callback for this. Instead I got around this problem by turning a flag on once the user opens the menu, and then when the app is un-paused I check that flag and if its true I re-load the avatar:
private void OnApplicationPause(bool pause) { if (!pause && m_isEditingAvatar) //User must have returned to app after finishing editing their avatar { m_isEditingAvatar = false; RecreateMyAvatar(); Close(); } }
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 5 months ago
- 5 months ago
- 6 months ago
- 5 months ago
- 9 days ago