Version: 2023.2
LanguageEnglish
  • C#

AtlasPopulationMode

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Options to specify the atlas population mode, which defines the type of font asset.

Properties

StaticStatic font assets offer the best performance of any font asset type. You create and pre-populate them in the Editor.They cannot be modified at runtime. A static font asset is standalone. Its source font file is not included in builds.
DynamicDynamic font assets can be populated at runtime, but incur a higher performance overhead than static font assets. A dynamic font asset depends on its source font file, which is included in builds.
DynamicOSDynamic OS font assets provide the same functionality and performance as dynamic font assets. In the Editor, a Dynamic OS font asset depends on its source font file. For a Dynamic OS font asset to work in a build, the target platform must contain its source font file.