public void FillData(string[] _myData) { myData = _myData; name.text = _myData [1]; email.text = _myData [2]; phone.text = _myData [3]; description.text = _myData [4]; profilePic.sprite = DummyPullDataFromID.GetChallengerProfileImage(_myData [0]); }
public void FillInformation(string _challengerID) { string[] resource = DummyPullDataFromID.PullChallengerInfoByString(_challengerID); name.text = resource [1]; email.text = resource [2]; number.text = resource [3]; description.text = resource [4]; profilePic.sprite = DummyPullDataFromID.GetChallengerProfileImage(resource [0]); }
public void FillInformation() { myInformation = DummyPullDataFromID.PullMyChallengerInfo(); name.text = myInformation [1]; email.text = myInformation [2]; number.text = myInformation [3]; description.text = myInformation [4]; profilePic.sprite = DummyPullDataFromID.GetChallengerProfileImage(myInformation [0]); editProfileButton.SetResource(myInformation); }