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); }
public void OnHeadIcon(PlayerInSeatInfo playerInfo, Vector3 position) { _playerInSeatInfoPanel.ShowPlayerInfo(playerInfo, position); }