Skip to content

Commit 3547e0e

Browse files
committed
Merge branch 'release/1.0.0'
2 parents 0992b05 + 8f305c2 commit 3547e0e

File tree

76 files changed

+629
-2668
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+629
-2668
lines changed

.gitignore

Lines changed: 1 addition & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1 @@
1-
# This .gitignore file should be placed at the root of your Unity project directory
2-
#
3-
# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore
4-
#
5-
/[Ll]ibrary/
6-
/[Tt]emp/
7-
/[Oo]bj/
8-
/[Bb]uild/
9-
/[Bb]uilds/
10-
/[Ll]ogs/
11-
/[Uu]ser[Ss]ettings/
12-
13-
# MemoryCaptures can get excessive in size.
14-
# They also could contain extremely sensitive data
15-
/[Mm]emoryCaptures/
16-
17-
# Recordings can get excessive in size
18-
/[Rr]ecordings/
19-
20-
# Uncomment this line if you wish to ignore the asset store tools plugin
21-
# /[Aa]ssets/AssetStoreTools*
22-
23-
# Autogenerated Jetbrains Rider plugin
24-
/[Aa]ssets/Plugins/Editor/JetBrains*
25-
26-
# Visual Studio cache directory
27-
.vs/
28-
29-
# Gradle cache directory
30-
.gradle/
31-
32-
# Autogenerated VS/MD/Consulo solution and project files
33-
ExportedObj/
34-
.consulo/
35-
*.csproj
36-
*.unityproj
37-
*.sln
38-
*.suo
39-
*.tmp
40-
*.user
41-
*.userprefs
42-
*.pidb
43-
*.booproj
44-
*.svd
45-
*.pdb
46-
*.mdb
47-
*.opendb
48-
*.VC.db
49-
50-
# Unity3D generated meta files
51-
*.pidb.meta
52-
*.pdb.meta
53-
*.mdb.meta
54-
55-
# Unity3D generated file on crash reports
56-
sysinfo.txt
57-
58-
# Builds
59-
*.apk
60-
*.aab
61-
*.unitypackage
62-
*.app
63-
64-
# Crashlytics generated file
65-
crashlytics-build.properties
66-
67-
# Packed Addressables
68-
/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin*
69-
70-
# Temporary auto-generated Android Assets
71-
/[Aa]ssets/[Ss]treamingAssets/aa.meta
72-
/[Aa]ssets/[Ss]treamingAssets/aa/*
1+
Resources/*

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [1.0.0]
9+
10+
Initial version
11+
12+
[1.0.0]: https://github.com/kleber-swf/unity-bitmap-font-creator/releases/tag/1.0.0

CHANGELOG.md.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/BitmapFontCreator.meta renamed to Documentation.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Documentation/screenshot-01.png

32.6 KB
Loading

Documentation/screenshot-01.png.meta

Lines changed: 123 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

Assets/BitmapFontCreator/Editor/BitmapFontCreator.cs renamed to Editor/BitmapFontCreator.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
using UnityEditor;
44
using UnityEngine;
55

6-
namespace kleberswf.tools.bitmapfontcreator
6+
namespace dev.klebersilva.tools.bitmapfontcreator
77
{
88
internal static class BitmapFontCreator
99
{
10-
public static void CreateFont(BitmapFontCreatorData data)
10+
public static void CreateFont(ExecutionData data)
1111
{
1212
var error = CheckForErrors(data);
1313
if (!string.IsNullOrEmpty(error))
@@ -32,7 +32,7 @@ public static void CreateFont(BitmapFontCreatorData data)
3232
}
3333

3434
// TODO all checks
35-
private static string CheckForErrors(BitmapFontCreatorData data)
35+
private static string CheckForErrors(ExecutionData data)
3636
{
3737
if (data.Texture == null) return "Texture cannot be null";
3838
if (!data.Texture.isReadable) return "Texture must be readable. Set Read/Write Enabled to true inside Texture Properties";
@@ -52,7 +52,7 @@ private static Material CreateMaterial(string baseName, Texture2D texture)
5252
};
5353
}
5454

55-
private static Font CreateFontAsset(string baseName, Material material, BitmapFontCreatorData data)
55+
private static Font CreateFontAsset(string baseName, Material material, ExecutionData data)
5656
{
5757
var map = new Dictionary<char, CharacterProps>();
5858
foreach (var e in data.CustomCharacterProps)
@@ -65,7 +65,7 @@ private static Font CreateFontAsset(string baseName, Material material, BitmapFo
6565
};
6666
}
6767

68-
private static CharacterInfo[] CreateCharacters(BitmapFontCreatorData data, Dictionary<char, CharacterProps> map)
68+
private static CharacterInfo[] CreateCharacters(ExecutionData data, Dictionary<char, CharacterProps> map)
6969
{
7070
var texSize = new Vector2(data.Texture.width, data.Texture.height);
7171
var cellSize = new Vector2(texSize.x / data.Cols, texSize.y / data.Rows);
File renamed without changes.

0 commit comments

Comments
 (0)