1
0
mirror of https://github.com/Siccity/xNode.git synced 2026-02-08 16:24:53 +08:00

Update README.md

This commit is contained in:
Thor Brigsted 2018-10-22 09:10:06 +02:00 committed by GitHub
parent f5856f7911
commit f00e1e5f2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ With a minimal footprint, it is ideal as a base for custom state machines, dialo
### Node example: ### Node example:
```csharp ```csharp
[System.Serializable] // public classes deriving from Node are registered as nodes for use within a graph
public class MathNode : Node { public class MathNode : Node {
// Adding [Input] or [Output] is all you need to do to register a field as a valid port on your node // Adding [Input] or [Output] is all you need to do to register a field as a valid port on your node
[Input] public float a; [Input] public float a;