mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 17:26:02 +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>
|
||||
[Serializable]
|
||||
public abstract class NodeGraph : ScriptableObject, ISerializationCallbackReceiver {
|
||||
public abstract class NodeGraph : ScriptableObject {
|
||||
|
||||
/// <summary> All nodes in the graph. <para/>
|
||||
/// See: <see cref="AddNode{T}"/> </summary>
|
||||
@ -44,20 +44,4 @@ public abstract class NodeGraph : ScriptableObject, ISerializationCallbackReceiv
|
||||
public void 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