public override void OnImportAsset(AssetImportContext ctx) { var font = new CHRFont(); font.DataRaw = File.ReadAllText(ctx.assetPath); ctx.AddObjectToAsset("font", font); ctx.SetMainObject(font); }
public TextToStrokes(CHRFont font) { _font = font; }