From 8fb96dd47fabd5430af19e986c253bc2e14c18d1 Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Thu, 18 Jun 2015 14:39:32 +0100 Subject: [PATCH] Compile errors when Fungus is used with Draw On Screen asset #120 --- Assets/Fungus/Flowchart/Editor/FlowchartWindow.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Fungus/Flowchart/Editor/FlowchartWindow.cs b/Assets/Fungus/Flowchart/Editor/FlowchartWindow.cs index afbeafa5..f9f7406f 100755 --- a/Assets/Fungus/Flowchart/Editor/FlowchartWindow.cs +++ b/Assets/Fungus/Flowchart/Editor/FlowchartWindow.cs @@ -395,7 +395,7 @@ namespace Fungus bool drag = false; // Pan tool - if (Tools.current == Tool.View && Tools.viewTool == ViewTool.Pan && + if (UnityEditor.Tools.current == Tool.View && UnityEditor.Tools.viewTool == ViewTool.Pan && Event.current.button == 0 && Event.current.type == EventType.MouseDrag) { drag = true; @@ -429,7 +429,7 @@ namespace Fungus } // Zoom tool - if (Tools.current == Tool.View && Tools.viewTool == ViewTool.Zoom && + if (UnityEditor.Tools.current == Tool.View && UnityEditor.Tools.viewTool == ViewTool.Zoom && Event.current.button == 0 && Event.current.type == EventType.MouseDrag) { zoom = true;