You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

为何同Z轴高度0下Player Sprite显示在Yellow Point Sprite下方?

Unity Sorting Layer 显示异常问题

我在Unity编辑器里做了这些操作:

  • 打开菜单 Edit > Project Settings... > Tags and Layers
  • 在Sorting Layers中添加了Player和YellowPoints两个图层
  • 把Player对象的Sorting Layer设为Player,Render Order设为0
  • 将Yellow Point预制体的Sorting Layer设为YellowPoints,Render Order设为1

但问题没解决:Player还是显示在黄色点的下方,视觉上就是这样。

相关设置截图:

  • Tags and Layers 设置
  • 运行时Player的Sprite与设置
  • 运行时Yellow Point的设置

内容的提问来源于stack exchange,提问作者Daniel Lip

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.21 07:22:01