Standalone
Build and run Unity Standalone for Windows
After you have loaded the Asylum Unity SDK Example or added the Asylum Unity SDK Plugin to an existing project, create a GameObject with component AsylumDigitalObjectsController. Make sure you enter the user's passphrase (seed phrase mnemonic) in the AsylumDigitalObjectsController component field.
infoIf you followed Quick Install, you already have scene created, just open
Scenes/SimpleScene
and make sure thatAsylumDigitalObjectsController
component has seed phrase filled.(Optional) Switch platform to the Windows,Mac,Linux in the File > Build Settings, if another platform is chosen.
Start building game. The result of the build looks like this.
Download, install and run Docker.
Follow the steps of Docker setup and run the following command in terminal:
docker-compose up
infoSince you are not using WebGL it is not necessary to run Creator Studio. You can limit yourself to running IPFS and Asylum Node.
cautionTo see the proper result you should have items minted on your chain. To do this you can:
- mint items manually from Blueprints: Tutorials: Items Minting,
- or reseed data with items using script: Docker Setup: Reseed Data
And now you can start the game.
The final result should be this.