示例#1
0
文件: Sample1.cs 项目: inoook/Graph
    // Update is called once per frame
    void Update()
    {
        t += Time.deltaTime;
        v  = amp * Mathf.Sin(t * 2.0f);
        w  = amp * Mathf.Cos(t * 2.0f);

        pramView.GetGraphByName("param_v").color = c;
        pramView.AddData("param_v", v);
        pramView.AddData("param_w", w);
    }