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

启动游戏会改变 Unity3D 本身界面。(只有非 pro 版本会重现) #44

Closed jwu closed 10 years ago

jwu commented 10 years ago

经过验证发现,这是 Unity 的一个bug。当使用 Unity 非 Pro 版本时。只要在场景里加入随便脚本。然后添加 OnGUI 函数就会触发这个Bug。

using UnityEngine;
using System.Collections;

public class Test : MonoBehaviour {

    // Use this for initialization
    void Start () {

    }

    // Update is called once per frame
    void Update () {

    }

    void OnGUI () {
    }
}

然后反复运行该场景即可重现。

@tinytail @nantas

jwu commented 10 years ago

正确的UI显示: screen shot 2013-10-31 at 10 42 46

错误的UI显示: screen shot 2013-10-31 at 10 42 26

jareguo commented 10 years ago

这个情况Pro版也经常会

jwu commented 10 years ago

4.3 版本已经解决了这个问题