mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
Change text color
This commit is contained in:
1 parent
43fa7a0a2a
commit
c2e251e9c6
1 file changed
+1
-1
@@ -161,7 +161,7 @@ public static class RoleGuidePatches
|
|||||||
var searchButton = searchBox.GetComponent<MatchInfoGuideTabButton>();
|
var searchButton = searchBox.GetComponent<MatchInfoGuideTabButton>();
|
||||||
var tmpText = searchButton.transform.GetChild(0).GetComponent<TextMeshPro>();
|
var tmpText = searchButton.transform.GetChild(0).GetComponent<TextMeshPro>();
|
||||||
tmpText.GetComponent<TextTranslatorTMP>().Destroy();
|
tmpText.GetComponent<TextTranslatorTMP>().Destroy();
|
||||||
tmpText.color = new Color(0, 0.9656f, 0.8679f, 0.6f);
|
tmpText.color = new Color(0.75f, 0.75f, 0.75f);
|
||||||
tmpText.text = string.Empty;
|
tmpText.text = string.Empty;
|
||||||
tmpText.fontSizeMax = 4;
|
tmpText.fontSizeMax = 4;
|
||||||
tmpText.overflowMode = TextOverflowModes.Ellipsis;
|
tmpText.overflowMode = TextOverflowModes.Ellipsis;
|
||||||
|
|||||||
Reference in new issue
Block a user