Example #1
0
    // Update is called once per frame
    void Update()
    {
        float force_ = SerialHandler_.getForce();
        float prece_ = SerialHandler_.getPrece();

        ForceText_.text = ("force = " + force_.ToString());
        if (force_ >= 30)
        {
            Debug.Log("forceOver30 : " + force_);
        }
        PreceText_.text = ("prece = " + prece_.ToString());
    }