exdev / ex2d-dev

2D framework and pipeline for Unity3D
ex-dev.com/ex2d
GNU General Public License v3.0
6 stars 3 forks source link

在场景里动态添加 Sprite Font 看不见。 #51

Closed jwu closed 10 years ago

jwu commented 10 years ago

动态添加到场景中的 Sprite Font 并不会在场景中出现。

重现方法:

得 sheeptap2 dev 最新版本, 打开 UniteDemo2 这个场景。羊跳跃时点击。对比 Game View 场景和 2D Scene View 场景。

错误的显示:

screen shot 2013-11-04 at 4 53 53 pm

正确的显示:

screen shot 2013-11-04 at 4 53 58 pm

更有趣的是:如果将 hitscore 这个prefab 拖入到场景中,加入任意layer, 比如 effect 这个 layer 然后运行游戏,可以看到 Scene View 里正确显示,但是 Game View 里仍然不显示。