TILEMAP覆盖浮动文本Unity 2D
因此,我想每次打开一个箱子时都会显示浮动文字,这表明您赚了多少硬币。我使用tilemaps创建了级别。当我创建浮动文本时,出现了问题,基本上是由TILEMAP覆盖的,因为如果我将其移出水平,我可以看到它,否则就不会。我尝试通过使用图层来解决此问题,但我无法设法使其正常工作。有人知道如何帮助我吗?
,您可以看到foto 文本的轮廓可见,但是在播放模式下,您可以看到看不到。
So I want to display a floating text everytime the player opens a chest, that indicates how many coins you earned. I created the level using tilemaps. The problem arises when I created the floating text, basically it's covered by the tilemap, because if I move it out of the level I can see it, otherwise not. I tried fixing this problem by using layers, but I can't manage to make it work. Does anyone know how to help me?
As you can see by the foto the outline of the text is visible, but in play mode you can't see it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能应该在tileMap渲染器中使用层的顺序,并将其设置为负值。对不起,如果它不起作用,我对Unity是新手。
You should probably use the order in layer in the tilemap renderer and set it to a negative value.Im sorry if it doesnt work I am new to unity.