-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add font configuration as scriptable object
- Loading branch information
Rofli Sanches
committed
May 14, 2021
1 parent
65c6385
commit cfdb5ac
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using UnityEngine; | ||
|
||
namespace UImGui.Assets | ||
{ | ||
// TODO: Make a default resource file as sample. | ||
[CreateAssetMenu(menuName = "Dear ImGui/Font Atlas Configuration")] | ||
internal sealed class FontAtlasConfigAsset : ScriptableObject | ||
{ | ||
public FontRasterizerType Rasterizer; | ||
public uint RasterizerFlags; | ||
public FontDefinition[] Fonts; | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.