Emulation Mode
For testing every script using BaseSerialCommunication
or BaseLiveSerialCommunication
has an emulation mode in the Unity GUI.
First click on Activate Serial Emulation Mode
After entering play mode you can send messages to your script (you send the messages that the Arduino would send)
Tip
Remember to disable Emulation Mode before exporting