Example #1
0
    IEnumerator makePulse(float time)
    {
        while (true)
        {
            yield return(new WaitForSeconds(time));

            line.AddPoint(10000000.0f);
        }
    }
 void OnUpdateRaw(int value)
 {
     //Debug.Log("gh1: "+value.ToString());
     lineDrawer.AddPoint((float)value / scaleData);
 }
 void OnUpdateMeditation2(int value)
 {
     //Debug.Log("gh1: "+value.ToString());
     meditationDrawer.AddPoint((float)value / scaleMeditation);
 }
 void OnUpdateAlpha(float value)
 {
     //Debug.Log("gh1: "+value.ToString());
     alphaDrawer.AddPoint((float)value / scaleAlpha);
 }
 void OnUpdateAttention2(int value)
 {
     //Debug.Log("gh1: "+value.ToString());
     attentionDrawer.AddPoint((float)value / scaleAttention);
 }