문제

I have a sklabel node and when I add a new sprite on to the same position the label gets covered by the sprite .

How can I make the label not get covered by anything that's added to the scene ?

도움이 되었습니까?

해결책

you can solve the problem simply by changing the properties zPosition, so you can do:

labelNode.zPosition = 100;
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top