Sign up for Hasura Newsletter
Loading...

Setup Unity Boilerplate

For this course, the UI and single player gameplay (shooting targets in the arena) have already been set up. Our task would be converting it to an exciting online multiplayer game, just like Shooter Arena.

Set up the boilerplate unitypackage

  1. Create a new 3D Unity project.

  2. Change the target platform to Android/iOS

  3. Download and import shooterArena-boiilerplate.unitypackage

  4. Change allowed orientations to only Landscape. This setting is found in Player Settings -> Resolution and Presentation

  5. Add menuScene and gameScene to build settings respectively

  6. Build the game and try out the menu system and game mechanics.

When you've completed these steps, you should have a playable shooter game on your device with no multiplayer features. We would be adding these in a bit. First let's set up the Hasura backend.

Did you find this page helpful?
Start with GraphQL on Hasura for Free
  • ArrowBuild apps and APIs 10x faster
  • ArrowBuilt-in authorization and caching
  • Arrow8x more performant than hand-rolled APIs
Promo
footer illustration
Brand logo
© 2024 Hasura Inc. All rights reserved
Github
Titter
Discord
Facebook
Instagram
Youtube
Linkedin