整理代码

This commit is contained in:
monitor1394
2019-06-21 09:34:33 +08:00
parent 3dab004731
commit fc95338274
34 changed files with 64 additions and 94 deletions

View File

@@ -19,10 +19,10 @@ public class Demo_PieChart : MonoBehaviour
private void Update()
{
time += Time.deltaTime;
if(time > 1 )
if (time > 1)
{
time = 0;
if(count < 5)
if (count < 5)
{
chart.AddData("time" + count, Random.Range(10, 100));
}