示例#1
0
    public void ButtonClick()
    {
        if (BLEManager.connectBLE == true)
        {
            BLEManager.MySendData(msg);
        }

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

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

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

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