1
0
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:
Thor Brigsted 2020-09-07 09:09:32 +02:00 committed by GitHub
parent b5fb59a84e
commit 0303c53643
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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