Unity2017.1官方UGUI文檔翻譯——Canvas Renderer


Canvas Renderer

畫布渲染器

The Canvas Renderer component renders a graphical UI object contained within a Canvas.

Canvas Renderer組件渲染包含在Canvas中的圖形UI對象。

Properties

屬性

The Canvas Renderer has no properties exposed in the inspector.

Canvas渲染器沒有在inspector中公開的屬性。

Details

詳細

The standard UI objects available from the menu (GameObject > Create UI) all have Canvas Renderers attached wherever they are required but you many need to add this component manually for custom UI objects. Although there are no properties exposed in the inspector, a few properties and function can be accessed from scripts - see the CanvasRenderer page in the Script Reference for full details.

菜單中的標准UI對象(GameObject > Create UI)只要是需要Canvas Renderer的都自動包含Canvas Renderer,但自定義的UI對象要手動添加這個組件。 雖然在inspector中沒有公開屬性,但是可以通過腳本訪問一些屬性和功能 - 有關完整的詳細信息,請參閱“腳本參考”中的CanvasRenderer頁面。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM