mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 01:06:01 +08:00
Removal of scripts now also clears dependant nodes, to avoid null objects. NodePorts now support fallback values. UI Changes. node.graph is now serialized as well.
20 lines
338 B
C#
20 lines
338 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class TestNode : Node {
|
|
|
|
public int i;
|
|
public float f;
|
|
public double d;
|
|
public long l;
|
|
public bool b;
|
|
public string s;
|
|
public Rect r;
|
|
public Vector2 v2;
|
|
public Vector3 v3;
|
|
public Vector4 v4;
|
|
public Color col;
|
|
public AnimationCurve a;
|
|
}
|