| | |
| | | [SerializeField] Button quicklyJoinGuildBtn; |
| | | [SerializeField] ScrollerController guildListScroller; |
| | | [SerializeField] Transform noGuildTf; |
| | | [SerializeField] Button serversBtn; |
| | | |
| | | string lastQuery = ""; |
| | | int lastPage = 0; |
| | |
| | | findBtn.AddListener(() => OnFindBtnClick()); |
| | | createGuildBtn.AddListener(OnCreateGuildBtnClick); |
| | | quicklyJoinGuildBtn.AddListener(OnQuicklyJoinGuildBtnClick); |
| | | serversBtn.AddListener(()=> |
| | | { |
| | | UIHelper.ShowServersPanel(GuildManager.Instance.crossServerIDList); |
| | | }); |
| | | } |
| | | protected override void OnPreOpen() |
| | | { |
| | |
| | | |
| | | void Display() |
| | | { |
| | | serversBtn.SetActive(GuildManager.Instance.zoneID != 0); |
| | | CreateScroller(); |
| | | } |
| | | |