Unity SDK tutorial scenes
The SDK includes tutorial scenes that demonstrate how to use the SDK.
Before using any of the scenes, install a Tezos-compatible wallet on a mobile device and get some test tez tokens that you can use to pay transaction fees. For instructions, see Installing and funding a wallet.
Setup instructions
After you have installed the SDK according to the instructions in the Quickstart, you can import the tutorial scenes from the Package Manager panel:
-
In the Package Manager panel, click the Tezos Unity SDK package.
-
In the package information, go to the Samples tab.
-
Under Tutorials, click Import.
-
In the Project panel, expand Assets > Samples > Tezos Unity SDK > [SDK version number] > Tutorials.
-
Add the tutorial scenes to the build settings:
-
Click File > Build Settings.
-
Drag these scenes from the Project panel to the Scenes in Build list:
Tutorials/ContractAndMinting/_ContractAndMinting
Tutorials/IPFSUpload/_IPFSUpload
Tutorials/TransferToken/_TransferToken
Tutorials/WalletConnection/_WalletConnection
The Build Settings window looks like this:
-
Close the Build Settings window.
-
-
Optional: To use the IPFSUpload scene, set up your Pinata key as described in IPFSUpload scene.
-
In the Tutorials folder, double-click the _Tutorials scene.
-
Click the Play button to start the scene.
The Tutorials scene shows links to the other tutorial scenes. Click a link to run a scene. For more information about these scenes, see the sections below.
Tutorials scene
This scene includes buttons that link to the other scenes.