An asset is marked with HideFlags.DontSave but is included in the build:

An asset is marked with HideFlags.DontSave but is included in the build:
Asset: 'Library/unity editor resources'
(You are probably referencing internal Unity data in your build.)

UnityEditor.HostView:OnGUI()


原因:使用Unity默認字體


字體導入:要添加一種字體到您的項目中,你需要將.ttf文件放到你的資源文件夾。

然後Unity將自動導入。你必須確保字體的擴展名是.ttf,否則Unity不能識別。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章