【挂机】修复金钱流光在宝箱上不消失

dev_chengFeng
gaoxin 2021-04-25 16:11:00 +08:00
parent 1c69c62ab7
commit 77955d6f9c
1 changed files with 2 additions and 1 deletions

View File

@ -603,9 +603,10 @@ function SingleFightPlayerView:SetEffect(pos)
self.parent.moneyEffect:GetComponent("RectTransform").anchoredPosition = SetObjPosByUV(pos)
Util.ClearTrailRender(self.parent.moneyEffect)
self:SetBoxEffect(false, Vector3.zero)
self.parent.moneyEffect:SetActive(true)
self.parent.moneyEffect:SetActive(true)
self.parent.moneyEffect:GetComponent("RectTransform"):DOAnchorPos(Vector2.New(tartPos.x + 88, tartPos.y + 359), 0.6, false):OnComplete(function ()
self:SetBoxEffect(true, boxState)
self.parent.moneyEffect:SetActive(false)
end)
end
SoundManager.PlaySound(SoundConfig.Sound_FightArea_Gold)