logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class FontAssetCreator.Input

    Everything needed to build a font asset from a source font.

    Inheritance
    object
    FontAssetCreator.Input
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    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
    In this article
    © 2026 Serenity. All Rights Reserved