float v = 0;
void Start () {
GraphParam graph = new GraphParam("param_v");
graph.maxY = 5.0f;
graph.color = Color.blue;
graph.drawType = GraphParam.DrawType.Line;
pramView.SetGraph(graph);
}
void Update () {
pramView.AddData("param_v", v);
}
float v = 0;
public GraphParam graph;
void Start () {
pramView.SetGraph(graph);
}
void Update () {
graph.AddData (v);
}