Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
developer9998 committed May 24, 2023
1 parent 4545938 commit a52b23f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions ScoreboardAttributes/PlayerLine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ internal class PlayerLine : MonoBehaviour
public async void Start()
{
// Wait for the line to fully initialize
float currentTime = Time.time + 3;
float currentTime = Time.time + 5;
while (!baseLine.initialized)
{
if (Time.time >= currentTime) Destroy(this); // If it takes too long, give up
Expand All @@ -26,10 +26,13 @@ public async void Start()
if (pronounTagObject.TryGetComponent(out attributeText))
{
attributeText.text = "";
attributeText.horizontalOverflow = HorizontalWrapMode.Overflow;
attributeText.lineSpacing = 0.8f;
attributeText.supportRichText = false;
attributeText.transform.localPosition = new Vector3(-95.5f, -5.5f, 0f);
attributeText.transform.localScale = Vector3.one * 0.35f;
attributeText.alignment = TextAnchor.UpperLeft;

attributeText.transform.localPosition = new Vector3(-80f, -9f, 0f);
attributeText.transform.localScale = Vector3.one * 0.32f;
(attributeText.transform as RectTransform).sizeDelta = new Vector2(227.5f, 25f);

// Add to the text list
var textList = baseLine.texts.ToList();
Expand Down
2 changes: 1 addition & 1 deletion ScoreboardAttributes/PluginInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ internal class PluginInfo
{
public const string GUID = "com.dev.gorillatag.scoreboardattributes";
public const string Name = "ScoreboardAttributes";
public const string Version = "1.0.0";
public const string Version = "1.0.1";
}
}

0 comments on commit a52b23f

Please sign in to comment.