mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-03-12 22:14:37 +00:00
change fontSize in awake instead of constructor so unity dev build wont be mad
This commit is contained in:
parent
ecdfaa7a1e
commit
74a1c3cb46
@ -27,13 +27,11 @@ namespace QSB.Utility
|
||||
private const int MaxLabelSize = 15;
|
||||
private const float MaxLabelDistance = 150;
|
||||
|
||||
private readonly GUIStyle guiGUIStyle = new()
|
||||
{
|
||||
fontSize = 9
|
||||
};
|
||||
|
||||
private readonly GUIStyle guiGUIStyle = new();
|
||||
private static readonly GUIStyle labelGUIStyle = new();
|
||||
|
||||
private void Awake() => guiGUIStyle.fontSize = 9;
|
||||
|
||||
private void WriteLine(int columnID, string text)
|
||||
{
|
||||
var currentOffset = 0f;
|
||||
|
Loading…
x
Reference in New Issue
Block a user