Enter the multiplayer playground - an shared environment to move, trade currency, and trade NFTs.
This sample game demonstrates Moralis Web3 Unity SDK.
Getting Started
- Download this repo (*.zip or *.git)
- Download the Unity Editor
- Open this repo in the Unity Editor
- Follow instructions at docs.moralis.io/docs/unity-demos for
Setup UnityandSetup Backend - Enjoy!
See docs.moralis.io/unity for more info.
Documentation
README.md- Overall Docs for this repoUnity/Assets/Moralis/TheGame/Documentation/ReadMe.asset- Unity Docs. Select this asset in UnityServer/azure-playfab-functions-vscode/Instructions.txt- Azure Docs. Deployment required to empower the Unity gameSmartContracts/Hardhat/Instructions.txt- SmartContracts Docs. Deployment required to empower the Unity gameWebCompanionApp/NextJS/Instructions.txt- WebCompanionApp Docs. This is optional.
Configuration
Unity Target- Standalone MAC/PCUnity Version- Use this VersionUnity Rendering- Universal Render Pipeline (URP)Unity Aspect Ratio- Game View 16x10
Structure
Unity/- Open this folder in the Unity EditorUnity/Assets/Moralis/TheGame/Scenes/- Open any Scene. Press 'Play'!
Dependencies
Already included- Via Unity Package Manager as this Version
Video: Creating a Web3 Unity Multiplayer Playground
| Thumbnail | TimeStamps |
|---|---|
![]() |
Unity Images
| Intro Scene | 4-Player Multiplayer |
|---|---|
![]() |
![]() |
| Transfer Nft | Transferred Nft |
|---|---|
![]() |
![]() |
| Readme.asset | TheGameConfiguration.asset |
|---|---|
![]() |
![]() |
Unity Planning Images
| UX Sequence Diagram | UML (Light) UMVCS Architecture | UML Factory Pattern |
|---|---|---|
![]() |
![]() |
![]() |
Web Companion App Images
| Authentication Page | Players' Account Page |
|---|---|
![]() |
![]() |
Moralis
- Moralis provides a single workflow for building high performance dapps. Fully compatible with your favorite web3 tools and services.
- See moralis.io for more info.
Moralis SDK
- This SDK brings the power of Moralis to your Unity projects.
- See docs.moralis.io/unity for more info.
Need Help?
- Contact us in the Moralis Forum.
- See forum.moralis.io/unity for more info.












