-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/Nethereum/Nethereum.Unity
- Loading branch information
Showing
4 changed files
with
68 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,50 @@ | ||
# Nethereum.Unity | ||
Nethereum 472 AOT runtime dlls, please check Nethereum releases for more information, extra components, or other versions (net461, net35, netstandard) https://github.com/Nethereum/Nethereum/releases, example of usage can be found at https://github.com/Nethereum/Unity3dSampleTemplate. | ||
|
||
Nethereum 472 / Netstandard AOT runtime dlls, please check Nethereum releases for more information, extra components, or other versions (net461, net35, netstandard) https://github.com/Nethereum/Nethereum/releases. | ||
|
||
Example template can be found at https://github.com/Nethereum/Unity3dSampleTemplate. | ||
|
||
_Note_ If you are targeting WegGl and want to use async / await you will require the WebGlThreadPatcher see example above. | ||
|
||
## Package installation instructions | ||
|
||
#### Install via Package Manager using OpenUpm | ||
|
||
* open Edit/Project Settings/Package Manager | ||
* add a new Scoped Registry (or edit the existing OpenUPM entry) | ||
|
||
**Name** package.openupm.com | ||
|
||
**URL** https://package.openupm.com | ||
|
||
**Scope(s)** com.nethereum.unity | ||
* click Save or Apply | ||
* open Window/Package Manager | ||
* click + | ||
* select Add package by name... or Add package from git URL... | ||
* paste com.nethereum.unity into name | ||
* paste 4.19.2 into version (or your preferred one) | ||
* click Add | ||
|
||
|
||
Alternatively, merge the snippet to Packages/manifest.json (https://docs.unity3d.com/Manual/upm-manifestPrj.html) | ||
```json | ||
{ | ||
"scopedRegistries": [ | ||
{ | ||
"name": "package.openupm.com", | ||
"url": "https://package.openupm.com", | ||
"scopes": [ | ||
"com.nethereum.unity" | ||
] | ||
} | ||
], | ||
"dependencies": { | ||
"com.nethereum.unity": "4.19.2" | ||
} | ||
} | ||
``` | ||
|
||
### Install using Git | ||
|
||
To add this package as a dependency just use the github url, more info can be found here: https://docs.unity3d.com/Manual/upm-git.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "Nethereum", | ||
"rootNamespace": "Nethereum", | ||
"references": [], | ||
"includePlatforms": [], | ||
"excludePlatforms": [], | ||
"allowUnsafeCode": false, | ||
"overrideReferences": false, | ||
"precompiledReferences": [], | ||
"autoReferenced": true, | ||
"defineConstraints": [], | ||
"versionDefines": [], | ||
"noEngineReferences": false | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters