UGUI中Text的自適應換行問題

方法一:spa     Text裏的內容已知而且固定,咱們能夠在Text文本框裏編輯時,經過換行鍵就能夠實現。code 方法二:blog     能夠經過代碼直接給Text組件的text賦值,效果以下: it 代碼:io using System.Collections; using System.Collections.Generic; using UnityEngine; using Unit
相關文章
相關標籤/搜索