void OnTriggerStay(Collider collider) { MotorSpeed.MotorsSpeed[MotorIndex] = (int)Intensity.Value; UDPSend.sendMotorInfo(); }