public void updateFacebookFriendPicture(FriendInfo friendInfo) { fbPicture = facebookBackground.GetComponent <FBPicture>(); fbPicture.fbId = friendInfo.facebookID; Invoke("pictureRequest", 0.1f); }
public void myProgress(bool isConectedToFacebook) { facebookBackground.SetActive(true); if (isConectedToFacebook) { fbPicture = facebookBackground.GetComponent <FBPicture>(); fbPicture.fbId = Kubera.Data.Sync.KuberaSyncManger.GetCastedInstance <Kubera.Data.Sync.KuberaSyncManger>().facebookUserId; Invoke("pictureRequest", 0.1f); } }