setVisible() make no effect

setVisible() make no effect
0.0 0


a lot of sprite need create and remove, so i create a pool for sprites, when need remove, i make it unvisible, when i need create, i show a unvisible sprite.

i call setVisible(false), the sprite will hide, but when i call setVisible(true), the sprite can’t show, what’s the problem, is there some rule for call setVisible?


A bit of code might help us fix your problem.