Skip to content

Commit 5fc1119

Browse files
committed
fix incorrect vert.y
1 parent 145e5d0 commit 5fc1119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/BitmapFontImporter/Editor/FntParse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ private CharacterInfo CreateCharInfo(int id, int x, int y, int w, int h, int xo,
293293
vert.x = xo;
294294
#if UNITY_5_0 || UNITY_5_1 || UNITY_5_2
295295
// unity 5.0 can not support baseline for
296-
vert.y = 0;
296+
vert.y = yo;
297297
#else
298298
vert.y = yo - lineBaseHeight;
299299
#endif

0 commit comments

Comments
 (0)