Unity example project. Log into your Neurosity account, choose your device, and check device status, calm and focus scores.
You can use this example to connect to your Neurosity account and devices. It is up to you to build upon it and make your own apps and games!
This project was built upon the hard work of others. As such, it is also dependent on the scrutiny and update of the tools they so generously provide. Make sure to check their sites and repositories if you want to upgrade your own project or if you want to Build for mobile platforms.
-
Thanks to AJ Keller and Alex Castillo for coming up with the Crown hardware and the Neurosity SDK.
-
Thanks to Ryan Turney for developing the Notion SDK for Unity.
-
Thanks to Unity Technologies for making Unity accessible to everyone.
If you want to modify how the handlers communicate with Unity, like I did, go to the Assets/Scripts/Notion-Unity/Handlers folder. The Types folder right beside it will help you with what kind of information is received from Firebase.
If you're more into design and less into coding, you can find my contributions in the Assets/Scripts/WebApp folder. It's inundated with comments about how things work. The NotionInterfacer is the prime candidate for a singleton, since you may not want to relog every time you change scenes. Up to you, really.
- Unity 2022.1.5f1
- Firebase for Unity Authentication
- Firebase for Unity Realtime Database
- Json.NET by jilleJr
- External Dependency Manager
Nota Bene: When updating to newer versions of Unity, be sure to update the external packages in {Project Name}/Packages/ and in the manifest.json
and packages-lock.jason
.
Other apps will require your own Firebase project, you can follow Firebase Documentation for help on that. There is a stub setup for this repo but any app developed using the Notion Unity SDK will eventually require you to setup your own Firebase account. This is currently a requirement as the Neurosity tech is built on top of Firebase and the Unity Firebase SDKs require google-services.json
and GoogleService-Into.plist
to be unique for each store app.
- Fix Logout() warnings stemming from processes being interrupted mid-thread.
Q: Can this be used for mobile?
A: Yes it can. Be ready to open the can of worms that is building for mobile. As an Android user, I can share that you'll be banging your head against the wall to Build your first mobile app from Unity, neurogame or not. Your mileage may vary depending on whether Unity finally decides to properly support Android development. Haven't tried to build for iOS, yet...