Files
JJBB/Assets/Project/Script/LuaScripts/UI/Lua/Welfare/LuaWelfareMonthlyCard.txt

21 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2024-08-23 15:49:34 +08:00
LuaWelfareMonthlyCard = {}
function LuaWelfareMonthlyCard:Start()
if(CS.NetworkConfig.Table_Version == "tablesbt") then
cardDesc1:GetComponent("Text").text = CS.GCGame.Table.StrDictionary.GetClientDictionaryString("#{87500}");
cardDesc2:GetComponent("Text").text = CS.GCGame.Table.StrDictionary.GetClientDictionaryString("#{87501}");
cardDesc3:GetComponent("Text").text = CS.GCGame.Table.StrDictionary.GetClientDictionaryString("#{87502}");
cardDesc4:GetComponent("Text").text = CS.GCGame.Table.StrDictionary.GetClientDictionaryString("#{87503}");
cardDesc5:GetComponent("Text").text = CS.GCGame.Table.StrDictionary.GetClientDictionaryString("#{87508}");
else
cardDesc1:GetComponent("Text").text = CS.GCGame.Table.StrDictionary.GetClientDictionaryString("#{87504}");
cardDesc2:GetComponent("Text").text = CS.GCGame.Table.StrDictionary.GetClientDictionaryString("#{87505}");
cardDesc3:GetComponent("Text").text = CS.GCGame.Table.StrDictionary.GetClientDictionaryString("#{87506}");
cardDesc4:GetComponent("Text").text = CS.GCGame.Table.StrDictionary.GetClientDictionaryString("#{87507}");
cardDesc5:GetComponent("Text").text = CS.GCGame.Table.StrDictionary.GetClientDictionaryString("#{87509}");
end
end