private void SendAngle(float angle) { if ((Time.time - lastSendTime) < refreshTime) { return; } servo.SendAngle(angle); lastSendTime = Time.time; Debug.Log(angle); }