Class FontAssetCreator.Input
Everything needed to build a font asset from a source font.
Inherited Members
Namespace: Serenity.Ui.Infrastructure.Editor.Builder
Assembly: Serenity.UnityUi.Infrastructure.Editor.dll
Syntax
public sealed class FontAssetCreator.Input
Constructors
Input()
Declaration
public Input()
Fields
AssetName
File name, without GeneratedFontAssetSuffix or its extension. Null or empty falls back to SourceFont's own name, sanitized.
Declaration
public string AssetName
Field Value
| Type | Description |
|---|---|
| string |
OutputFolderPath
Folder the generated asset is written into.
Declaration
public string OutputFolderPath
Field Value
| Type | Description |
|---|---|
| string |
RegisterAsAddressables
Declaration
public bool RegisterAsAddressables
Field Value
| Type | Description |
|---|---|
| bool |
SourceFont
The .ttf/.otf to build from. Must already be a project asset — TMPro needs the source file on disk.
Declaration
public Font SourceFont
Field Value
| Type | Description |
|---|---|
| Font |