mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 09:16:01 +08:00
docs: add installation option via OpenUPM (#268)
This commit is contained in:
parent
8ef01722c4
commit
eb4623a939
10
README.md
10
README.md
@ -4,6 +4,7 @@
|
||||
[](https://github.com/Siccity/xNode/issues)
|
||||
[](https://raw.githubusercontent.com/Siccity/xNode/master/LICENSE.md)
|
||||
[](https://github.com/Siccity/xNode/wiki)
|
||||
[](https://openupm.com/packages/com.github.siccity.xnode/)
|
||||
|
||||
[Downloads](https://github.com/Siccity/xNode/releases) / [Asset Store](http://u3d.as/108S) / [Documentation](https://github.com/Siccity/xNode/wiki)
|
||||
|
||||
@ -33,6 +34,7 @@ With a minimal footprint, it is ideal as a base for custom state machines, dialo
|
||||
* [Examples branch](https://github.com/Siccity/xNode/tree/examples) - look at other small projects
|
||||
|
||||
### Installing with Unity Package Manager
|
||||
***Via Git URL***
|
||||
*(Requires Unity version 2018.3.0b7 or above)*
|
||||
|
||||
To install this project as a [Git dependency](https://docs.unity3d.com/Manual/upm-git.html) using the Unity Package Manager,
|
||||
@ -46,6 +48,14 @@ You will need to have Git installed and available in your system's PATH.
|
||||
|
||||
If you are using [Assembly Definitions](https://docs.unity3d.com/Manual/ScriptCompilationAssemblyDefinitionFiles.html) in your project, you will need to add `XNode` and/or `XNodeEditor` as Assembly Definition References.
|
||||
|
||||
***Via OpenUPM***
|
||||
|
||||
The package is available on the [openupm registry](https://openupm.com). It's recommended to install it via [openupm-cli](https://github.com/openupm/openupm-cli).
|
||||
|
||||
```
|
||||
openupm add com.github.siccity.xnode
|
||||
```
|
||||
|
||||
### Node example:
|
||||
```csharp
|
||||
// public classes deriving from Node are registered as nodes for use within a graph
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user