작업 조건 분석 기능 개발
This commit is contained in:
18
Assets/Chart And Graph/Tutorials/Bar/BarChartFeed.cs
Normal file
18
Assets/Chart And Graph/Tutorials/Bar/BarChartFeed.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
#define Graph_And_Chart_PRO
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
using ChartAndGraph;
|
||||
|
||||
public class BarChartFeed : MonoBehaviour {
|
||||
void Start () {
|
||||
BarChart barChart = GetComponent<BarChart>();
|
||||
if (barChart != null)
|
||||
{
|
||||
barChart.DataSource.SetValue("Player 1", "Value 1", Random.value * 20);
|
||||
barChart.DataSource.SlideValue("Player 2", "Value 1", Random.value * 20, 40f);
|
||||
}
|
||||
}
|
||||
private void Update()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user