public void InitData(FriendPop m, FriendPop.FriendTab i) { bg = this.GetComponent <UISprite>(); btn = this.GetComponent <UIButton>(); pop = m; id = i; SetState(false); }
public void InitData(FriendPop p, FriendData d, int i, FriendPop.FriendTab t) { pop = p; data = d; index = i; tab = t; CheckBtn(); SetInfo(); }