當我們建立任何GUI物件(例如GUI button,GUI text),它們便會自動分配到GUI Layer中。並且,GUI物件的X,Y坐標指向在螢幕的相對位置,介乎0~1。
你也可以設定GUIText組件中的屬性控制物件的位置
細節請參考官方文件:
GUI Text: http://unity3d.com/support/documentation/Components/class-GuiText.html
GUI Layer: http://unity3d.com/support/documentation/Components/class-GUILayer.html
Life_programmer



沒有留言:
張貼留言