form: http://blog.csdn.net/yxriyin/article/details/26584505
首先是一个错误:
ReadPixels was called to read pixels from system frame buffer, while not inside drawing frame.
这个需要你在调用这个函数之前使用yield return new WaitForEndOfFrame();
第二个错误:
Undefined Queue: 'Opaque' in EDITOR
这个是老版本shader引起的,详细查看http://forum.unity3d.com/threads/200853-Undefined-Queue-Opaque-in-EDITOR-since-installing-4-2-1f4
Charactor Controll只是单纯的增加物理特性,Charctor Montor增加了移动特性。 然后加上fps controll 才能动起来,不过这样就没有动作了。
UILabel label = gameObject.transform.FindChild ("Panel/Label").GetComponent<UILabel> ();
Vector3 v = label.transform.position - Camera.main.transform.position;
Quaternion rotation = Quaternion.LookRotation (v);
label.transform.rotation = rotation;
一开始发现有缩放,原来是UILabel的z轴缩放没设置好。