04-13-2017 09:14 AM
05-17-2017 09:49 AM
05-18-2017 01:31 PM
PlatformManager.MyID //returns the Oculus ID of the logged in user
PlatformManager.MyOculusID //returns the Oculus username of the logged in user
You can also perform your own API call
Users.GetLoggedInUser ().OnComplete ((Message<User> msg) => {
Debug.Log("User ID: " + msg.Data.ID);
Debug.Log("Oculus ID: " + msg.Data.OculusID);
});
You should be able to do a similar call for the Logged in Users Friends
Users.GetLoggedInUserFriends ().OnComplete ((Message<UserList> msg) => {
foreach (var friend in msg.Data){
Debug.Log("friend: " + friend);
}
});
05-19-2017 12:33 AM
06-02-2017 04:53 PM
06-03-2017 11:25 PM