Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfranblanco committed Jun 26, 2024
2 parents 2fdf20e + 0aee0fe commit c5de657
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 2 deletions.
47 changes: 46 additions & 1 deletion README.md
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
14 changes: 14 additions & 0 deletions Runtime/Nethereum.asmdef
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
}
7 changes: 7 additions & 0 deletions Runtime/Nethereum.asmdef.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.nethereum.unity",
"displayName": "Nethereum",
"version": "4.19.1",
"version": "4.19.2",
"unity": "2018.1",
"description": "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 can be found at https://github.com/Nethereum/Unity3dSampleTemplate",
"changelogUrl": "https://github.com/Nethereum/Nethereum/releases",
Expand Down

0 comments on commit c5de657

Please sign in to comment.