From 112e28cf45e5af9f5a35f8d176a94c2bf70f0590 Mon Sep 17 00:00:00 2001 From: tabuto74 <32508985+tabuto74@users.noreply.github.com> Date: Mon, 13 Apr 2020 11:16:18 +0200 Subject: [PATCH] Some properties made public --- Scripts/Editor/NodeEditorAction.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Scripts/Editor/NodeEditorAction.cs b/Scripts/Editor/NodeEditorAction.cs index 8021a16..b3e2f26 100644 --- a/Scripts/Editor/NodeEditorAction.cs +++ b/Scripts/Editor/NodeEditorAction.cs @@ -14,10 +14,10 @@ namespace XNodeEditor { public static XNode.Node[] copyBuffer = null; - private bool IsDraggingPort { get { return draggedOutput != null; } } - private bool IsHoveringPort { get { return hoveredPort != null; } } - private bool IsHoveringNode { get { return hoveredNode != null; } } - private bool IsHoveringReroute { get { return hoveredReroute.port != null; } } + public bool IsDraggingPort { get { return draggedOutput != null; } } + public bool IsHoveringPort { get { return hoveredPort != null; } } + public bool IsHoveringNode { get { return hoveredNode != null; } } + public bool IsHoveringReroute { get { return hoveredReroute.port != null; } } private XNode.Node hoveredNode = null; [NonSerialized] public XNode.NodePort hoveredPort = null; [NonSerialized] private XNode.NodePort draggedOutput = null; @@ -535,4 +535,4 @@ namespace XNodeEditor { autoConnectOutput = null; } } -} \ No newline at end of file +}