작업 조건 분석 기능 개발
This commit is contained in:
20
Assets/Chart And Graph/Tutorials/Pyramid/PyramidFeed.cs
Normal file
20
Assets/Chart And Graph/Tutorials/Pyramid/PyramidFeed.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
#define Graph_And_Chart_PRO
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
using ChartAndGraph;
|
||||
|
||||
public class PyramidFeed : MonoBehaviour {
|
||||
|
||||
public Material newCategory;
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
var chart = GetComponent<PyramidChart>();
|
||||
chart.DataSource.AddCategory("New category", new ChartDynamicMaterial( newCategory,Color.blue,Color.white), "New", "and Fresh", null);
|
||||
chart.DataSource.SetCategoryHeightRatio("New category", 3f);
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user