Added ui labels for debugging and playability
This commit is contained in:
@@ -77,7 +77,10 @@ public class GuiBatcher
|
||||
);
|
||||
|
||||
DrawQuad(currentX, y, size, size, uv, color);
|
||||
currentX += size * 0.8f; // Tighten horizontal spacing
|
||||
|
||||
float charWidthPixels = (CharWidth.GetWidth(c) + 1) / 8;
|
||||
float charWidthWorldUnits = size * charWidthPixels;
|
||||
currentX += charWidthWorldUnits;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user