using asap.core; using cfg; using game; using GameCore; using System; using System.Collections.Generic; using TMPro; using UniRx; using UnityEngine; using UnityEngine.UI; public class SocialInfoItem : PanelItemBase { public GameObject bg_myself; List rank = new List(); public TMP_Text text_rank; public TMP_Text text_name; public TMP_Text text_time; public Head head; public Button btn_more; GameObject icon_leader1; GameObject icon_leader2; GameObject icon_leader3; public TMP_Text text_count; public Button btn_head; public Transform tips_dock_trans; public Vector2 tips_dock_offset = Vector2.zero; string playFabId; IDisposable disposable; private void Awake() { disposable = GContext.OnEvent().Where(x => x.id == playFabId).Subscribe(SetAvatar); bg_myself = transform.Find("bg_myself").gameObject; text_rank = transform.Find("rank/rank/text_rank").GetComponent(); text_name = transform.Find("text_name").GetComponent(); text_time = transform.Find("text_time").GetComponent(); head = transform.Find("btn_head").GetComponent(); icon_leader1 = transform.Find("btn_head/leader_1").gameObject; icon_leader2 = transform.Find("btn_head/leader_2").gameObject; icon_leader3 = transform.Find("btn_head/leader_3").gameObject; btn_more = transform.Find("btn_more").GetComponent