1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-20 09:16:01 +08:00

Update README.md

This commit is contained in:
Thor Brigsted 2020-09-07 09:13:29 +02:00 committed by GitHub
parent 0303c53643
commit ae998a4e07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ With a minimal footprint, it is ideal as a base for custom state machines, dialo
### Installation
<details><summary>Instructions</summary>
## Installing with Unity Package Manager
### Installing with Unity Package Manager
***Via Git URL***
*(Requires Unity version 2018.3.0b7 or above)*
@ -59,10 +59,18 @@ The package is available on the [openupm registry](https://openupm.com). It's re
openupm add com.github.siccity.xnode
```
## Installing with git
### 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`
run the following git command from your project root:
```
git submodule add git@github.com:Siccity/xNode.git Assets/Submodules/xNode
```
### Installing 'the old way'
If no source control or package manager is available to you, you can simply copy/paste the source files into your assets folder.
</details>