/** * Ardity (Serial Communication for Arduino + Unity) * Author: Daniel Wilches * * This work is released under the Creative Commons Attributions license. * https://creativecommons.org/licenses/by/2.0/ */ using UnityEngine; using System.IO.Ports; /** * This class contains methods that must be run from inside a thread and others * that must be invoked from Unity. Both types of methods are clearly marked in * the code, although you, the final user of this library, don't need to even * open this file unless you are introducing incompatibilities for upcoming * versions. * * For method comments, refer to the base class. */ public class SerialThread : SerialThreadLines { public SerialThread(string portName, int baudRate, int delayBeforeReconnecting, int maxUnreadMessages) : base(portName, baudRate, delayBeforeReconnecting, maxUnreadMessages) { } }