UGUI源碼解析(二十)Text

Text Text繼承了MaskableGraphic, ILayoutElement。數組 OnPopulateMesh方法緩存 重寫Graphic的OnPopulateMesh方法,會在Graphic的Rebuild方法被調用,爲CanvasRenderer的Mesh提供了頂點位置、頂點顏色、UV和三角形信息。 根據用戶設置生成了一個TextGenerationSettings文本生成設置,
相關文章
相關標籤/搜索