Exemple #1
0
    public void updateFacebookFriendPicture(FriendInfo friendInfo)
    {
        fbPicture      = facebookBackground.GetComponent <FBPicture>();
        fbPicture.fbId = friendInfo.facebookID;

        Invoke("pictureRequest", 0.1f);
    }
Exemple #2
0
    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);
        }
    }