private void CreateObjects() { this.mTxtTip = base.transform.Find("tipTxt").gameObject; this.mJoinItemsTable = base.transform.Find("recordBg/contentsPanel/recordContents").gameObject.AddComponent<GuildJoinTabItemTable>(); this.mJoinItemsTable.maxPerLine = 1; this.mJoinItemsTable.arrangement = UICustomGrid.Arrangement.Vertical; this.mJoinItemsTable.cellWidth = 880f; this.mJoinItemsTable.cellHeight = 90f; this.mJoinItemsTable.scrollBar = base.transform.Find("recordBg/contentsScrollBar").GetComponent<UIScrollBar>(); }
private void CreateObjects() { this.mNameInput = base.transform.Find("nameInput").GetComponent<UIInput>(); GameObject gameObject = base.transform.Find("searchBtn").gameObject; UIEventListener expr_37 = UIEventListener.Get(gameObject); expr_37.onClick = (UIEventListener.VoidDelegate)Delegate.Combine(expr_37.onClick, new UIEventListener.VoidDelegate(this.OnSearchBtnClick)); this.mSearchItemTable = base.transform.Find("contentsPanel/recordContents").gameObject.AddComponent<GuildJoinTabItemTable>(); this.mSearchItemTable.maxPerLine = 1; this.mSearchItemTable.arrangement = UICustomGrid.Arrangement.Vertical; this.mSearchItemTable.cellWidth = 880f; this.mSearchItemTable.cellHeight = 90f; this.mSearchItemTable.scrollBar = base.transform.Find("contentsScrollBar").GetComponent<UIScrollBar>(); this.mTipGo = base.transform.Find("tipTxt").gameObject; this.mTipGo.SetActive(false); }