| 12345678910111213141516171819202122232425 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.UI;
- public class BoxPersonalProfile : MonoBehaviour
- {
- [SerializeField] Image Avatar;
- [SerializeField] Text Name;
- [SerializeField] Text UserId;
- // Start is called before the first frame update
- void Start()
- {
-
- }
- public void setProfileUserInfo(Sprite sprite,string name,int userId) {
- this.Avatar.sprite = sprite;
- this.Name.text = name;
- this.UserId.text = userId.ToString();
- }
- }
|