mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 01:06:01 +08:00
Add Unity Package Manager support (#165)
This commit is contained in:
parent
f8ba6339c8
commit
f0fd6b9634
3
.gitignore
vendored
3
.gitignore
vendored
@ -21,9 +21,6 @@
|
||||
sysinfo.txt
|
||||
|
||||
/Examples/
|
||||
README.md.meta
|
||||
LICENSE.md.meta
|
||||
CONTRIBUTING.md.meta
|
||||
|
||||
.git.meta
|
||||
.gitignore.meta
|
||||
|
||||
7
CONTRIBUTING.md.meta
Normal file
7
CONTRIBUTING.md.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bc1db8b29c76d44648c9c86c2dfade6d
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
7
LICENSE.md.meta
Normal file
7
LICENSE.md.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 77523c356ccf04f56b53e6527c6b12fd
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
10
README.md
10
README.md
@ -32,6 +32,16 @@ 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
|
||||
* [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.git"
|
||||
```
|
||||
|
||||
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.
|
||||
|
||||
### Node example:
|
||||
```csharp
|
||||
// public classes deriving from Node are registered as nodes for use within a graph
|
||||
|
||||
7
README.md.meta
Normal file
7
README.md.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 243efae3a6b7941ad8f8e54dcf38ce8c
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
17
Scripts/Editor/XNodeEditor.asmdef
Normal file
17
Scripts/Editor/XNodeEditor.asmdef
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "XNodeEditor",
|
||||
"references": [
|
||||
"XNode"
|
||||
],
|
||||
"optionalUnityReferences": [],
|
||||
"includePlatforms": [
|
||||
"Editor"
|
||||
],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": []
|
||||
}
|
||||
7
Scripts/Editor/XNodeEditor.asmdef.meta
Normal file
7
Scripts/Editor/XNodeEditor.asmdef.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 002c1bbed08fa44d282ef34fd5edb138
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
13
Scripts/XNode.asmdef
Normal file
13
Scripts/XNode.asmdef
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "XNode",
|
||||
"references": [],
|
||||
"optionalUnityReferences": [],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": []
|
||||
}
|
||||
7
Scripts/XNode.asmdef.meta
Normal file
7
Scripts/XNode.asmdef.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b8e24fd1eb19b4226afebb2810e3c19b
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
7
package.json
Normal file
7
package.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "com.github.siccity.xnode",
|
||||
"description": "xNode provides a set of APIs and an editor interface for creating and editing custom node graphs.",
|
||||
"version": "1.7.0",
|
||||
"unity": "2018.1",
|
||||
"displayName": "xNode"
|
||||
}
|
||||
7
package.json.meta
Normal file
7
package.json.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e9869d68f06b74538a01e9b8e406159e
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
x
Reference in New Issue
Block a user