//=================================================================================== // // Default Method // //=================================================================================== public override void Init() { if (_TitleLabel != null) { _TitleLabel.text = StringTableManager.GetData(3494); } _GuildSearchButton.SetLabel(StringTableManager.GetData(6750)); // 6750 길드 검색 if (_MyGuild == null) { _MyGuild = UIResourceMgr.CreatePrefab <MyGuild>(BUNDLELIST.PREFABS_UI_GUILD, transform, "MyGuild"); _MyGuild.Init(this); } if (_GuildList == null) { _GuildList = UIResourceMgr.CreatePrefab <GuildList>(BUNDLELIST.PREFABS_UI_GUILD, transform, "GuildList"); _GuildList.Init(); } if (m_GuildDelegationPopupWindow == null) { m_GuildDelegationPopupWindow = UIResourceMgr.CreatePrefab <GuildDelegation>(BUNDLELIST.PREFABS_UI_GUILD, transform, "GuildDelegation"); m_GuildDelegationPopupWindow.Init(); m_GuildDelegationPopupWindow.CloseUI(); } m_iGuildDelegateCountGold = (int)CDATA_FIXED_CONSTANTS.Get(DATA_FIXED_CONSTANTS._enConstant.Guild_Delegate_Count_Gold).Value; SetMenu(enMyGuildMain_ButtonType.MyGuild); }
//=================================================================================== // // Default Method // //=================================================================================== public override void Init() { if (m_GuildCreate == null) { m_GuildCreate = UIResourceMgr.CreatePrefab <GuildCreate>(BUNDLELIST.PREFABS_UI_GUILD, transform, "GuildCreate"); m_GuildCreate.Init(); } if (m_GuildList == null) { m_GuildList = UIResourceMgr.CreatePrefab <GuildList>(BUNDLELIST.PREFABS_UI_GUILD, transform, "GuildList"); m_GuildList.Init(); } OnJoinGuild(null); m_MainTitleLabel.text = StringTableManager.GetData(3494); m_JoinGuildButton.SetLabel(StringTableManager.GetData(6227)); m_CreateGuildButton.SetLabel(StringTableManager.GetData(6260)); }