ShaoNv
parent
caec443165
commit
1212678fdb
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue