Browse Source

Compile errors when Fungus is used with Draw On Screen asset #120

master
chrisgregan 10 years ago
parent
commit
8fb96dd47f
  1. 4
      Assets/Fungus/Flowchart/Editor/FlowchartWindow.cs

4
Assets/Fungus/Flowchart/Editor/FlowchartWindow.cs

@ -395,7 +395,7 @@ namespace Fungus
bool drag = false; bool drag = false;
// Pan tool // 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) Event.current.button == 0 && Event.current.type == EventType.MouseDrag)
{ {
drag = true; drag = true;
@ -429,7 +429,7 @@ namespace Fungus
} }
// Zoom tool // 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) Event.current.button == 0 && Event.current.type == EventType.MouseDrag)
{ {
zoom = true; zoom = true;

Loading…
Cancel
Save