mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-21 01:36:03 +08:00
Removed old code
This commit is contained in:
parent
5b1026e698
commit
9f518572f8
@ -4,7 +4,7 @@ using UnityEngine;
|
|||||||
|
|
||||||
/// <summary> Base class for all node graphs </summary>
|
/// <summary> Base class for all node graphs </summary>
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public abstract class NodeGraph : ScriptableObject, ISerializationCallbackReceiver {
|
public abstract class NodeGraph : ScriptableObject {
|
||||||
|
|
||||||
/// <summary> All nodes in the graph. <para/>
|
/// <summary> All nodes in the graph. <para/>
|
||||||
/// See: <see cref="AddNode{T}"/> </summary>
|
/// See: <see cref="AddNode{T}"/> </summary>
|
||||||
@ -44,20 +44,4 @@ public abstract class NodeGraph : ScriptableObject, ISerializationCallbackReceiv
|
|||||||
public void Clear() {
|
public void Clear() {
|
||||||
nodes.Clear();
|
nodes.Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnBeforeSerialize() { }
|
|
||||||
|
|
||||||
public void OnAfterDeserialize() {
|
|
||||||
/*for (int i = 0; i < nodes.Count; i++) {
|
|
||||||
nodes[i].graph = this;
|
|
||||||
}*/
|
|
||||||
//VerifyConnections();
|
|
||||||
}
|
|
||||||
|
|
||||||
/*/// <summary> Checks all connections for invalid references, and removes them. </summary>
|
|
||||||
public void VerifyConnections() {
|
|
||||||
for (int i = 0; i < nodes.Count; i++) {
|
|
||||||
nodes[i].VerifyConnections();
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user