Esempio n. 1
0
    public void ButtonClick()
    {
        if (BLEManager.connectBLE == true)
        {
            BLEManager.MySendData(msg);
        }

        Debug.Log(msg);
    }
Esempio n. 2
0
    public void InputChanged(string s)
    {
        if (BLEManager.connectBLE == true)
        {
            BLEManager.MySendData(s);
        }

        Debug.Log(s);
    }
Esempio n. 3
0
    public void SliderChanged(float n)
    {
        string value = n.ToString();

        if (BLEManager.connectBLE == true)
        {
            BLEManager.MySendData(value);
        }

        //Debug.Log(n);
        text.text = value;
    }