Hi! I have the code below, and I would like to access if a user is online or offline on my friend's list. I currently have the friend's list actually working and allowing people to add eachother and they pop up on the list etc. But I was confused as to how I would check to see if the other person is currently logged in or not.
public void DisplayFriends(List<FriendInfo> friendsCache) { friendsCache.ForEach(f => { GameObject Friend1 = Instantiate(Friend, Vector3.zero, Quaternion.identity); Friend1.transform.SetParent(FriendPanel.transform); Friend1.transform.localPosition = Vector3.zero; FriendUser.text = f.Username; //Friend's offline/online status. Debug.Log(f.Username); }); }