Beispiel #1
0
    // 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);
    }