Version: 5.6
public Font GenerateEditableFont (string path);

説明

フォントアセットのパスから編集可能な Font を作成します

Use this function if you want to modify the font generated by the TrueTypeFontImporter, with a custom texture or otherwise. It will create a copy of the font asset at path with an accompanying png Texture file and a Material, which you can all modify to meet your needs. A reference to the newly created editable Font is returned.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961