伤害数字
This commit is contained in:
parent
a90d9cf51f
commit
ad150a5e08
@ -68,7 +68,9 @@ function BattleHelper:getEffectText(parent)
|
||||
prefabObject:addUnloadCallback(function(obj)
|
||||
ResourceManager:unload(obj:getAssetPath())
|
||||
end)
|
||||
prefabObject:getTransform():SetAsLastSibling()
|
||||
local comp = prefabObject:addLuaComponent(GConst.BattleConst.TYPEOF_LUA_COMP.BATTLE_NUMBER_COMPONENT)
|
||||
comp:setEnabled(true)
|
||||
return comp
|
||||
else
|
||||
local effectComp = table.remove(self.battleEffectTextPool)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user