Пример #1
0
 public void ShowPlayerInfo(PlayerInSeatInfo playerInfo, Vector3 position)
 {
     this._rectTransInfoFrame.position = position;
     _imgHeadIcon.overrideSprite       = ResourceMgr.Instance.CreatHeadIconSprite(playerInfo.photoId);
     _txtNickName.text = playerInfo.nickName;
     _txtLevel.text    = playerInfo.level + " ¼¶";
     gameObject.SetActive(true);
 }
Пример #2
0
 public void OnHeadIcon(PlayerInSeatInfo playerInfo, Vector3 position)
 {
     _playerInSeatInfoPanel.ShowPlayerInfo(playerInfo, position);
 }