From 9f518572f851fdf1e82b80b346dc9f581c5c9d52 Mon Sep 17 00:00:00 2001 From: Thor Brigsted Date: Sun, 15 Oct 2017 16:11:37 +0200 Subject: [PATCH] Removed old code --- Scripts/NodeGraph.cs | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/Scripts/NodeGraph.cs b/Scripts/NodeGraph.cs index 9a34667..2fa569b 100644 --- a/Scripts/NodeGraph.cs +++ b/Scripts/NodeGraph.cs @@ -4,7 +4,7 @@ using UnityEngine; /// Base class for all node graphs [Serializable] -public abstract class NodeGraph : ScriptableObject, ISerializationCallbackReceiver { +public abstract class NodeGraph : ScriptableObject { /// All nodes in the graph. /// See: @@ -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(); - } - - /*/// Checks all connections for invalid references, and removes them. - public void VerifyConnections() { - for (int i = 0; i < nodes.Count; i++) { - nodes[i].VerifyConnections(); - } - }*/ } \ No newline at end of file