包含9節(jié)視頻教程
這是臨摹的終極表現(xiàn)!在臨摹領(lǐng)域達(dá)到真實(shí)照片的級別,讓你的繪畫讓別人驚呼吧!這不是照片,真的是繪畫出來的。我們一起來學(xué)習(xí)吧!
|
GUI Text displays text of any font you import in screen coordinates. GUI Text 在屏幕坐標(biāo)中顯示你導(dǎo)入的任何字體的文本。
Please Note: Unity 2.0 introduced UnityGUI, a GUI Scripting system. You may prefer creating user interface elements with UnityGUI instead of GUI Texts. Read more about how to use UnityGUI in the GUI Scripting Guide. 請注意: Unity 2.0 引入U(xiǎn)nityGUI,它是一個GUI腳本系統(tǒng)。您可能更愿意用 UnityGUI代替GUI Text來創(chuàng)建用戶界面元素 。了解更多有關(guān)如何使用UnityGUI 在GUI腳本指南 Properties 屬性
Details 詳情GUI Texts are used to print text onto the screen in 2D. The Camera has to have a GUI Layer attached in order to render the text. Cameras include a GUI Layer by default, so don't remove it if you want to display a GUI Text. GUI Texts are positioned using only the X and Y axes. Rather than being positioned in World Coordinates, GUI Texts are positioned in Screen Coordinates, where (0,0) is the bottom-left and (1,1) is the top-right corner of the screen To import a font see the Font page. GUI Text用于在2D屏幕上打印文字。相機(jī)必須有一個GUI層關(guān)聯(lián),用來顯示文本。攝像機(jī)包括一個默認(rèn)的GUI層,所以如果你想顯示GUI文本,不要刪除它。GUI文本只使用X和Y軸定位。。。而不是在世界坐標(biāo)中的位置進(jìn)行定位,GUI Text被放置在屏幕坐標(biāo),(0,0)是左下角。(1,1)是在屏幕右上角 。 要導(dǎo)入字體,見字體頁。 Pixel Correct 像素修正By default, GUI Texts are rendered with Pixel Correct enabled. This makes them look crisp and they will stay the same size in pixels independent of the screen resolution. 默認(rèn)情況下,GUI文本會啟用像素修正來顯示的。這使得它們看起來干凈利落的,他們將留在相同大小的像素,與屏幕的分辨率無關(guān)。 Hints 提示
贊0 踩0 |
未知用戶
2005-2025 朱峰社區(qū) 版權(quán)所有 遼ICP備2021001865號-1
2005-2025 ZhuFeng Community All Rights Reserved
VIP