Skip to content

Game engine сonfiguration

VladyslavLapin edited this page May 7, 2024 · 1 revision

For the Vara SDK to work in Unity, make sure you have the necessary dependencies installed. These dependencies need to be compatible with either .NETStandard 2.0, 2.1, or .NET 6.

You need to install Substrate .NET API and Substrate .NET Extension, also you can optional install Wrapper Libraries and Substrate .NET Wallet


Substrate .NET Extension

This toolchain automatically generates custom C# libraries (.NET libraries) for specific blockchains built with Substrate.

Substrate_extension


Substrate .NET API

This library provides the foundation for working with Substrate blockchains in C#. It handles communication via JSON-RPC, signing transactions, and translating data types from Rust to C#.

substrate .net api


Substrate .NET Wallet

Includes features for managing wallets, such as storing data securely in encrypted JSON files.

substate .net wallet


Wrapper Libraries

Streamlines blockchain integration for game developers. This tool unifies game logic with blockchain interaction and condenses data into manageable objects.

wrapper libraries


Core Dependencies

To add the core libraries of Substrate .NET API to the Debug or Release folder, include the following in your .csproj file:

<!--Set this to true if you want to generate all necessary/dependent DLLs to use them in Unity Project for example-->
 < PropertyGroup>
 < CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
 </PropertyGroup>`

This will copy all dependencies to your local folder and you can simply drag and drop them into your Plugins folder in Unity.

Clone this wiki locally