zhangjiannan 2024-11-12 18:01:23 +08:00
parent caec443165
commit 1212678fdb
1 changed files with 2 additions and 0 deletions

View File

@ -1278,6 +1278,8 @@ function this:ArtFloating(type, color, value, livego, targetIndex)
Util.GetGameObject(go, "anim/Image"):SetActive(false)
local dmg = this.randDmg()
Util.GetGameObject(go, "anim/anim"):GetComponent("Text").text = iconAction.DecodeHurt(dmg, dmg > 1000, 0)
Util.GetGameObject(go, "anim"):GetComponent("Canvas").sortingOrder = m_parent.sortingOrder
go:SetActive(true)
--local anim = Util.GetGameObject(go, colorArray[color + 1])