关于cocos中的removeChild移除动画窗口白屏

废话不多说,先上代码先。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
local function playMagic(refereeControl , selfControl ,target , targetCount)
local url = Resource.RES_SKILL_ROOT_PATH..skillId.."/Magic"..skillId
local skillAni = Tools.getAnimation(url)
if(target == nil ) then
skillAni:setPosition(400,400)
else
<div class="line number9 index8 alt2" style="word-break:break-all;word-wrap:break-word;outline:0px !important;margin:0px !important;padding:0px 1em !important;border-top-left-radius:0px !impo