onepiece_demo_arena
parent
9eb66f03e0
commit
a3f14bfbef
File diff suppressed because it is too large
Load Diff
|
@ -6,9 +6,9 @@ local PokemonGoList = {}
|
|||
local PokemonGoListRedPoin = {}
|
||||
local PokemonEffectList = {}
|
||||
local EffectConfig = {
|
||||
[3] = {name = "fx_linshousan_di", offset = Vector3.New(-4, -26, 0)},
|
||||
[4] = {name = "fx_linshousan_zhong", offset = Vector3.New(-4, -26, 0)},
|
||||
[5] = {name = "fx_linshousan_gao", offset = Vector3.New(-4, -26, 0)},
|
||||
[5] = {name = "fx_linshousan_di", offset = Vector3.New(-4, -26, 0)},
|
||||
[6] = {name = "fx_linshousan_zhong", offset = Vector3.New(-4, -26, 0)},
|
||||
[7] = {name = "fx_linshousan_gao", offset = Vector3.New(-4, -26, 0)},
|
||||
}
|
||||
|
||||
local PokemonDataList = {}
|
||||
|
@ -46,7 +46,8 @@ function PokemonMainPanel:InitComponent()
|
|||
PokemonList[i] = Util.GetGameObject(self.transform, "PokemonList/singlePokemon (".. i ..")/singlePokemon")
|
||||
PokemonGoList[i] = Util.GetGameObject(PokemonList[i], "pokemon"..i)
|
||||
PokemonGoListRedPoin[i] = Util.GetGameObject(PokemonGoList[i], "redPoint")
|
||||
Util.GetGameObject( PokemonGoList[i], "upZhenInfo/titleImage/sortText"):GetComponent("Text").text = i
|
||||
-- Util.GetGameObject( PokemonGoList[i], "upZhenInfo/titleImage/sortText"):GetComponent("Text").text = i
|
||||
Util.GetGameObject( PokemonGoList[i], "upZhenInfo/titleImage/sortText"):SetActive(false)
|
||||
Util.GetGameObject( PokemonGoList[i], "addInfo/addInfo/sortText"):GetComponent("Text").text = i
|
||||
|
||||
if not dragViewListGo[i] then
|
||||
|
@ -223,7 +224,8 @@ function this.ShowSinglePokemonList(go,singleData,liveIndex)
|
|||
local spiritAnimalConfig = ConfigManager.GetConfigData(ConfigName.SpiritAnimal,curData.id)
|
||||
local parent = Util.GetGameObject(go, "upZhenInfo/titleImage")
|
||||
local nameText = Util.GetGameObject(parent, "nameText"):GetComponent("Text")
|
||||
nameText.text = GetStringByEquipQua(spiritAnimalConfig.Quality, GetLanguageStrById(spiritAnimalConfig.Name))
|
||||
-- nameText.text = GetStringByEquipQua(spiritAnimalConfig.Quality, GetLanguageStrById(spiritAnimalConfig.Name))
|
||||
nameText.text =liveIndex..".".. GetLanguageStrById(spiritAnimalConfig.Name)
|
||||
-- 特效显示配置
|
||||
local config = EffectConfig[spiritAnimalConfig.Quality]
|
||||
if config then
|
||||
|
|
Loading…
Reference in New Issue