mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 17:26:02 +08:00
Update README.md
This commit is contained in:
parent
b5fb59a84e
commit
0303c53643
12
README.md
12
README.md
@ -33,7 +33,10 @@ With a minimal footprint, it is ideal as a base for custom state machines, dialo
|
|||||||
* [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
|
### Installation
|
||||||
|
<details><summary>Instructions</summary>
|
||||||
|
|
||||||
|
## Installing with Unity Package Manager
|
||||||
***Via Git URL***
|
***Via Git URL***
|
||||||
*(Requires Unity version 2018.3.0b7 or above)*
|
*(Requires Unity version 2018.3.0b7 or above)*
|
||||||
|
|
||||||
@ -56,6 +59,13 @@ The package is available on the [openupm registry](https://openupm.com). It's re
|
|||||||
openupm add com.github.siccity.xnode
|
openupm add com.github.siccity.xnode
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Installing with git
|
||||||
|
***Via Git Submodule***
|
||||||
|
To add xNode as a [submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules) in your existing git project,
|
||||||
|
run the following git command `git submodule add git@github.com:Siccity/xNode.git Assets/Submodules/xNode`
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
### Node example:
|
### Node example:
|
||||||
```csharp
|
```csharp
|
||||||
// public classes deriving from Node are registered as nodes for use within a graph
|
// public classes deriving from Node are registered as nodes for use within a graph
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user