Minimal runtime package to integrate REDbox in a Unity project.
Base URL (latest):
https://github.com/jmgech/RedBox_UPMPlugin.git
Pinned milestone:
https://github.com/jmgech/RedBox_UPMPlugin.git#milestone-2026-03-20-plugin-base-url-root-layout
- Serial bridge:
ArduinoBridge - Runtime settings UI:
RuntimeSettingsMenuandRuntimeSettingsCanvasMenu - Event bus:
EventManager - Thread dispatch helper:
MainThreadDispatcher - Card/Settings models:
Card,HardwareSettings,GameConfig - Sample tooling: Welcome Scene and Visual Novel Sample scene generator
- Create a fresh scene.
- Add an empty GameObject and attach
ArduinoBridge. - Create
HardwareSettingsasset:Assets > Create > RK > Settings > Hardware Settings
- Assign the settings asset to
ArduinoBridge.settings. - (Optional) Add
EventManagerin scene. - Enter Play Mode and test serial connection.
- Current firmware compatibility target: REDBOX_Device RBX Protocol v0.3 (
reader_ready,card_detected,card_present,card_removed,heartbeat,error).
To prevent release drift between the canonical source package and this plugin repo:
- Local check:
bash tools/check_source_parity.sh /path/to/REDbox_Project/Packages/com.redbox.unity- or set
REDBOX_SOURCE_PACKAGE_DIRthen runbash tools/check_source_parity.sh bash tools/check_guid_stability.sh- intentional plugin-only differences are maintained in
tools/parity-ignore-runtime.txtandtools/parity-ignore-editor.txt
- CI check:
- Workflow:
.github/workflows/source-parity-check.yml - Runs on
push/pull_requestfor Runtime/Editor changes and supportsworkflow_dispatchinputs (source_repo,source_ref,source_subpath).
- Workflow: