|
@@ -41,7 +41,19 @@ public class NoiseDataStatistics : MonoBehaviour
|
|
|
{
|
|
|
string[] str = listTimerStr[i].Split(' ');
|
|
|
|
|
|
- listTimeKD[num++].text = str[1];
|
|
|
+ // listTimeKD[num++].text = str[1];
|
|
|
+ string[] str2 = str[1].Split(':');
|
|
|
+ int timers = int.Parse(str2[0]);
|
|
|
+ timers++;
|
|
|
+ Debug.Log("DGJ ===> timers " + timers);
|
|
|
+ if (timers < 10)
|
|
|
+ {
|
|
|
+ listTimeKD[num++].text = "0" + timers.ToString() + ":00";
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ listTimeKD[num++].text = timers.ToString() + ":00";
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
DrawLine(noiseLine, lineNoisePoint);
|
|
@@ -99,7 +111,7 @@ public class NoiseDataStatistics : MonoBehaviour
|
|
|
for (int i = 0; i < listVertices.Count; i++)
|
|
|
{
|
|
|
vertices[i] = listVertices[i];
|
|
|
- Debug.Log(listVertices[i].ToString());
|
|
|
+ // Debug.Log(listVertices[i].ToString());
|
|
|
}
|
|
|
|
|
|
int[] triangles = new int[listTriangles.Count];
|