private void SetGoddnessData(DATA_GUILD_MAIN._enGuildLv kGuildLevel) { _DisplayGuildLv = kGuildLevel; _GuildMainData = CDATA_GUILD_MAIN.Get(_DisplayGuildLv); if (_GuildMainData == null) { return; // error } int GuildLevel = _GuildMainData.iGuildLv; _GuildLevelTitleLabel.text = string.Format(StringTableManager.GetData(8288), GuildLevel); // 8288 Lv.{0} 길드 봉헌 for (int i = 0; i < _GuildGoddnessTextList.Count; ++i) { DestroyImmediate(_GuildGoddnessTextList[i].gameObject); } _GuildGoddnessTextList.Clear(); // Free TributeData tributeData = SetTributeText(_GuildMainData.enTributeFree, _FreeTributeGrid.transform); if (tributeData != null) { // 6900 {0}단계 여신의 숨결 _FreeGoddnessTitleLabel.text = string.Format(StringTableManager.GetData(6900), GuildLevel); _FreeGoddness2DSprite.sprite2D = tributeData._GoddnessSprite; _FreeTributeButtonLabel.text = tributeData._TributeButtonText; } // Good tributeData = SetTributeText(_GuildMainData.enTributeGood, _GoodTributeGrid.transform); if (tributeData != null) { // 6901 {0}단계 눈부신 여신의 가호 _GoodGoddnessTitleLabel.text = string.Format(StringTableManager.GetData(6901), GuildLevel); _GoodGoddness2DSprite.sprite2D = tributeData._GoddnessSprite; _GoodTributeButtonLabel.text = tributeData._TributeButtonText; _GoodTributePriceTypeLabel.text = tributeData._Price.ToString(); _GoodTributePriceTypeSprite.spriteName = UtilFunc.GetWealthIconName(tributeData._PriceType); } // Extra tributeData = SetTributeText(_GuildMainData.enTributeExtra, _ExtraTributeGrid.transform); if (tributeData != null) { // 6902 {0}단계 성스러운 여신의 축복 _ExtraGoddnessTitleLabel.text = string.Format(StringTableManager.GetData(6902), GuildLevel); _ExtraGoddness2DSprite.sprite2D = tributeData._GoddnessSprite; _ExtraTributeButtonLabel.text = tributeData._TributeButtonText; _ExtraTributePriceTypeLabel.text = tributeData._Price.ToString(); _ExtraTributePriceTypeSprite.spriteName = UtilFunc.GetWealthIconName(tributeData._PriceType); } if (_MyGuildLv == kGuildLevel) { _FreeTributeButton.SetActive(true); _GoodTributeButton.SetActive(true); _ExtraTributeButton.SetActive(true); _BottomLevelMissMatchLabel.gameObject.SetActive(false); } else { _FreeTributeButton.SetActive(false); _GoodTributeButton.SetActive(false); _ExtraTributeButton.SetActive(false); _BottomLevelMissMatchLabel.gameObject.SetActive(true); } ResetPosition(); }