Select Git revision
CircleSegmentGenerator.cs
-
John Schihada authored
Refactored angle-prefab: Building Circle-Segment (used as the angle-representation) from Script now, using Mesh-API. Now angles > 90 degrees look much better (are not stretched or compressed in an ugly way), and potentially also angles > 180 degrees could be measured.
John Schihada authoredRefactored angle-prefab: Building Circle-Segment (used as the angle-representation) from Script now, using Mesh-API. Now angles > 90 degrees look much better (are not stretched or compressed in an ugly way), and potentially also angles > 180 degrees could be measured.
UIToolBox.cs 368 B
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class UIToolBox
{
public static void PopulateLocalEntryList(GameObject entry, List<string> input)
{
for (int i = 0; i < input.Count; i++)
entry.GetNthChild(new List<int> { i, 0, 0 }).GetComponent<TMPro.TextMeshProUGUI>().text = input[i];
}
}