mirror of
https://github.com/Siccity/xNode.git
synced 2026-02-05 23:05:05 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
902c992fac
24
README.md
24
README.md
@ -1,3 +1,27 @@
|
|||||||
|
|
||||||
### UnityNodeEditorCore
|
### UnityNodeEditorCore
|
||||||
A simple, userfriendly node editor framework for unity. Ideal as a base for custom state machines, dialogue systems, decision makers etc.
|
A simple, userfriendly node editor framework for unity. Ideal as a base for custom state machines, dialogue systems, decision makers etc.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Node example:
|
||||||
|
```csharp
|
||||||
|
[System.Serializable]
|
||||||
|
public class MathNode : Node {
|
||||||
|
[Input] public float a;
|
||||||
|
[Input] public float b;
|
||||||
|
[Output] public float result;
|
||||||
|
public enum MathType { Add, Subtract, Multiply, Divide}
|
||||||
|
public MathType mathType = MathType.Add;
|
||||||
|
|
||||||
|
protected override void Init() {
|
||||||
|
name = "Math";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Join the [Discord](https://discord.gg/qgPrHv4 "Join Discord server") server to leave feedback or get support.
|
||||||
|
Feel free to also leave suggestions/requests in the [issues](https://github.com/Siccity/UnityNodeEditorCore/issues "Go to Issues") page.
|
||||||
|
|
||||||
|
Projects using UnityNodeEditorCore:
|
||||||
|
* [Graphmesh](https://github.com/Siccity/Graphmesh "Go to github page")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user