https://github.com/fillmember/unity-bridge
UnityBridge is an event-based communication toolkit between your JS-side code and the unityInstance
https://github.com/fillmember/unity-bridge
Last synced: 3 months ago
JSON representation
UnityBridge is an event-based communication toolkit between your JS-side code and the unityInstance
- Host: GitHub
- URL: https://github.com/fillmember/unity-bridge
- Owner: fillmember
- Created: 2021-01-31T19:32:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-05T19:47:17.000Z (over 4 years ago)
- Last Synced: 2025-01-11T09:47:43.816Z (5 months ago)
- Language: C#
- Homepage:
- Size: 17.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UnityBridge.js
## why all these code
I want to use Firebase Realtime Database with my Unity project.
But there's no official Firebase SDK for Unity WebGL target.
This library can also help you handle data subscriptions from Unity to Javascript.
## when to not use this project
- when Firebase release official SDK
- when you don't use Unity WebGL target## Usage
For setting up the `UnityBridge` & `UnityBridgeFirebaseAddon`, check test/e2e/src/main.ts
For the Unity-side usage, check `example-unity/ExampleUnityScript.cs`.
## API
### UnityBridge
...TBD
### UnityBridgeFirebaseAddon
...TBD
## Test
### Jest
`npm t`
### E2E
1. supply your own firebase config
2. run `npm run test:e2e:dev`
3. run `npm run test:e2e:cypress`E2E test TBD...