From 51e77a227956dd043b6a6b7b19ef440a10518909 Mon Sep 17 00:00:00 2001 From: Thor Brigsted Date: Tue, 30 Jan 2018 20:31:31 +0100 Subject: [PATCH] Performance improvement. (removed unnecessary override) --- Scripts/Node.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Scripts/Node.cs b/Scripts/Node.cs index ddc43ea..0e0449f 100644 --- a/Scripts/Node.cs +++ b/Scripts/Node.cs @@ -202,10 +202,6 @@ namespace XNode { foreach (NodePort port in Ports) port.ClearConnections(); } - public override int GetHashCode() { - return JsonUtility.ToJson(this).GetHashCode(); - } - /// Mark a serializable field as an input port. You can access this through [AttributeUsage(AttributeTargets.Field, AllowMultiple = true)] public class InputAttribute : Attribute {