Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
creat326's avatar
creat326
Protege
4 years ago

Account Linking and Unity

Hi

 

I'm trying to link the account from my game to the Oculus account. I'm reading the documentation from

Account Linking: Unity | Oculus Developers

 

The problem is that there is not a single example of code anywhere. I'm trying to achieve this using Unity. How do I go about this? Do I need to create a webview? How do I get the return values from the linking?

 

Or is there a better way? I see that Oculus.Platform.Users.GetLoggedInUser().OnComplete(GetLoggedInUserCallback);

will return an User.ID with it. Can I use that number or is it wrong?

 

Thanks

 

2 Replies

Replies have been turned off for this discussion