mirror of
https://github.com/Siccity/xNode.git
synced 2026-03-26 22:49:02 +08:00
Relocate the installation instructions
This commit is contained in:
parent
9b5c0a78b5
commit
a4c632c8cb
24
README.md
24
README.md
@ -20,18 +20,6 @@ With a minimal footprint, it is ideal as a base for custom state machines, dialo
|
|||||||
<img src="https://user-images.githubusercontent.com/6402525/53689100-3821e680-3d4e-11e9-8440-e68bd802bfd9.png">
|
<img src="https://user-images.githubusercontent.com/6402525/53689100-3821e680-3d4e-11e9-8440-e68bd802bfd9.png">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
### Installing with Unity Package Manager
|
|
||||||
|
|
||||||
To install this project as a dependency using the Unity Package Manager,
|
|
||||||
add the following line to your project's `manifest.json`:
|
|
||||||
|
|
||||||
```
|
|
||||||
"com.github.siccity.xnode": "git+https://github.com/siccity/xNode",
|
|
||||||
```
|
|
||||||
|
|
||||||
Then, to access the `XNode` namespace from your code, make sure you have a valid [Assembly Definition](https://docs.unity3d.com/Manual/ScriptCompilationAssemblyDefinitionFiles.html) set up,
|
|
||||||
with `xNode` set as an Assembly Reference.
|
|
||||||
|
|
||||||
### Key features
|
### Key features
|
||||||
|
|
||||||
- Lightweight in runtime
|
- Lightweight in runtime
|
||||||
@ -47,6 +35,18 @@ with `xNode` set as an Assembly Reference.
|
|||||||
- [Getting started](https://github.com/Siccity/xNode/wiki/Getting%20Started) - create your very first node node and graph
|
- [Getting started](https://github.com/Siccity/xNode/wiki/Getting%20Started) - create your very first node node and graph
|
||||||
- [Examples branch](https://github.com/Siccity/xNode/tree/examples) - look at other small projects
|
- [Examples branch](https://github.com/Siccity/xNode/tree/examples) - look at other small projects
|
||||||
|
|
||||||
|
### Installing with Unity Package Manager
|
||||||
|
|
||||||
|
To install this project as a dependency using the Unity Package Manager,
|
||||||
|
add the following line to your project's `manifest.json`:
|
||||||
|
|
||||||
|
```
|
||||||
|
"com.github.siccity.xnode": "git+https://github.com/siccity/xNode",
|
||||||
|
```
|
||||||
|
|
||||||
|
Then, to access the `XNode` namespace from your code, make sure you have a valid [Assembly Definition](https://docs.unity3d.com/Manual/ScriptCompilationAssemblyDefinitionFiles.html) set up,
|
||||||
|
with `xNode` set as an Assembly Reference.
|
||||||
|
|
||||||
### Node example:
|
### Node example:
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user