Skip to content

Commit

Permalink
getting ready for release
Browse files Browse the repository at this point in the history
  • Loading branch information
sarbian committed Nov 6, 2016
1 parent c2c586c commit 045dedd
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions GCMonitor.cs
Expand Up @@ -728,16 +728,15 @@ private static TextMeshProUGUI addTextOutline(GameObject parent, string s)
text.font = UnityEngine.Resources.Load("Fonts/Calibri SDF", typeof(TMP_FontAsset)) as TMP_FontAsset;
text.fontSharedMaterial = UnityEngine.Resources.Load("Fonts/Materials/Calibri Dropshadow", typeof(Material)) as Material;

text.enableWordWrapping = false;
text.enableWordWrapping = true;

text.isOverlay = true;

text.characterSpacing = 2;


//text.renderer.sharedMaterial = text.font.material;
text.alignment = TextAlignmentOptions.Right;
//text.OverflowMode = TextOverflowModes.Overflow;

//text.alignment = TextAnchor.UpperLeft;
//text.horizontalOverflow = HorizontalWrapMode.Overflow;
//text.verticalOverflow = VerticalWrapMode.Truncate;
text.color = Color.white;
text1Obj.transform.SetParent(parent.transform, false);

Expand Down

0 comments on commit 045dedd

Please sign in to comment.