From 5495ed8ebffc76b47de5cba6de713a5011b695d7 Mon Sep 17 00:00:00 2001 From: Christopher Date: Wed, 24 Aug 2016 12:05:02 +0100 Subject: [PATCH] Tidied up editor using statements. --- Assets/Fungus/Audio/Editor/ControlAudioEditor.cs | 8 -------- Assets/Fungus/Camera/Editor/CameraMenuItems.cs | 2 -- Assets/Fungus/Camera/Editor/ViewEditor.cs | 3 --- Assets/Fungus/Flowchart/Editor/BlockEditor.cs | 1 - Assets/Fungus/Flowchart/Editor/BlockInspector.cs | 1 - Assets/Fungus/Flowchart/Editor/CallEditor.cs | 2 -- Assets/Fungus/Flowchart/Editor/CommandEditor.cs | 3 --- Assets/Fungus/Flowchart/Editor/CommandListAdaptor.cs | 2 -- Assets/Fungus/Flowchart/Editor/CustomGUI.cs | 4 ---- Assets/Fungus/Flowchart/Editor/EditorExtensions.cs | 2 -- Assets/Fungus/Flowchart/Editor/EditorZoomArea.cs | 1 - Assets/Fungus/Flowchart/Editor/EventHandlerEditor.cs | 4 ---- Assets/Fungus/Flowchart/Editor/FlowchartEditor.cs | 2 -- Assets/Fungus/Flowchart/Editor/FlowchartMenuItems.cs | 3 --- Assets/Fungus/Flowchart/Editor/FlowchartWindow.cs | 1 - Assets/Fungus/Flowchart/Editor/FungusEditorResources.cs | 1 - Assets/Fungus/Flowchart/Editor/GLDraw.cs | 3 --- Assets/Fungus/Flowchart/Editor/IfEditor.cs | 3 --- Assets/Fungus/Flowchart/Editor/InvokeEventEditor.cs | 3 --- Assets/Fungus/Flowchart/Editor/InvokeMethodEditor.cs | 2 -- Assets/Fungus/Flowchart/Editor/LabelEditor.cs | 4 ---- Assets/Fungus/Flowchart/Editor/SetVariableEditor.cs | 1 - Assets/Fungus/Flowchart/Editor/VariableEditor.cs | 2 -- Assets/Fungus/Narrative/Editor/CharacterEditor.cs | 3 --- Assets/Fungus/Narrative/Editor/LocalizationEditor.cs | 4 ---- Assets/Fungus/Narrative/Editor/MenuEditor.cs | 4 ---- Assets/Fungus/Narrative/Editor/MenuTimerEditor.cs | 3 --- Assets/Fungus/Narrative/Editor/NarrativeMenuItems.cs | 2 -- Assets/Fungus/Narrative/Editor/PortraitEditor.cs | 9 --------- Assets/Fungus/Narrative/Editor/SayEditor.cs | 4 ---- Assets/Fungus/Narrative/Editor/StageEditor.cs | 9 --------- Assets/Fungus/Sprite/Editor/SetColliderEditor.cs | 2 -- Assets/Fungus/Sprite/Editor/SpriteMenuItems.cs | 3 --- .../FungusLua/Scripts/Editor/DropDownControl.cs | 1 - .../FungusLua/Scripts/Editor/ExecuteHandlerEditor.cs | 3 --- .../FungusLua/Scripts/Editor/LuaBindingsEditor.cs | 2 -- .../FungusLua/Scripts/Editor/LuaScriptEditor.cs | 5 ----- .../FungusLua/Scripts/Editor/LuaStoreEditor.cs | 3 --- .../FungusLua/Scripts/Editor/LuaUtilsEditor.cs | 6 ------ .../Thirdparty/FungusLua/Scripts/Editor/MenuItems.cs | 2 -- Assets/Fungus/UI/Editor/WriteEditor.cs | 4 ---- Assets/Fungus/UI/Editor/WriterAudioEditor.cs | 4 ---- 42 files changed, 131 deletions(-) diff --git a/Assets/Fungus/Audio/Editor/ControlAudioEditor.cs b/Assets/Fungus/Audio/Editor/ControlAudioEditor.cs index 84fc05e5..95cbe4f4 100644 --- a/Assets/Fungus/Audio/Editor/ControlAudioEditor.cs +++ b/Assets/Fungus/Audio/Editor/ControlAudioEditor.cs @@ -2,15 +2,7 @@ // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; -using UnityEditorInternal; using UnityEngine; -using UnityEngine.UI; -using UnityEngine.Events; -using System; -using System.Collections; -using System.Collections.Generic; -using Rotorz.ReorderableList; - namespace Fungus { diff --git a/Assets/Fungus/Camera/Editor/CameraMenuItems.cs b/Assets/Fungus/Camera/Editor/CameraMenuItems.cs index 3f9ede04..1ecb421b 100644 --- a/Assets/Fungus/Camera/Editor/CameraMenuItems.cs +++ b/Assets/Fungus/Camera/Editor/CameraMenuItems.cs @@ -3,11 +3,9 @@ using UnityEngine; using UnityEditor; -using System.Collections; namespace Fungus { - public class CameraMenuItems { [MenuItem("Tools/Fungus/Create/View", false, 100)] diff --git a/Assets/Fungus/Camera/Editor/ViewEditor.cs b/Assets/Fungus/Camera/Editor/ViewEditor.cs index d9fa0350..9ebcbadd 100644 --- a/Assets/Fungus/Camera/Editor/ViewEditor.cs +++ b/Assets/Fungus/Camera/Editor/ViewEditor.cs @@ -3,12 +3,9 @@ using UnityEditor; using UnityEngine; -using System.Collections; -using System.Collections.Generic; namespace Fungus { - [CanEditMultipleObjects] [CustomEditor (typeof(View))] public class ViewEditor : Editor diff --git a/Assets/Fungus/Flowchart/Editor/BlockEditor.cs b/Assets/Fungus/Flowchart/Editor/BlockEditor.cs index a492ff3e..77a5e472 100644 --- a/Assets/Fungus/Flowchart/Editor/BlockEditor.cs +++ b/Assets/Fungus/Flowchart/Editor/BlockEditor.cs @@ -15,7 +15,6 @@ using System.Reflection; namespace Fungus { - [CustomEditor (typeof(Block))] public class BlockEditor : Editor { diff --git a/Assets/Fungus/Flowchart/Editor/BlockInspector.cs b/Assets/Fungus/Flowchart/Editor/BlockInspector.cs index 23c42dd8..02962d28 100644 --- a/Assets/Fungus/Flowchart/Editor/BlockInspector.cs +++ b/Assets/Fungus/Flowchart/Editor/BlockInspector.cs @@ -4,7 +4,6 @@ using UnityEngine; using UnityEngine.Serialization; using UnityEditor; -using System.Collections; using System.Collections.Generic; using System.Linq; diff --git a/Assets/Fungus/Flowchart/Editor/CallEditor.cs b/Assets/Fungus/Flowchart/Editor/CallEditor.cs index 9a06b7de..8be7baac 100644 --- a/Assets/Fungus/Flowchart/Editor/CallEditor.cs +++ b/Assets/Fungus/Flowchart/Editor/CallEditor.cs @@ -3,8 +3,6 @@ using UnityEditor; using UnityEngine; -using System.Collections; -using System.Collections.Generic; namespace Fungus { diff --git a/Assets/Fungus/Flowchart/Editor/CommandEditor.cs b/Assets/Fungus/Flowchart/Editor/CommandEditor.cs index 2af0fa90..d5f6d64c 100644 --- a/Assets/Fungus/Flowchart/Editor/CommandEditor.cs +++ b/Assets/Fungus/Flowchart/Editor/CommandEditor.cs @@ -1,11 +1,8 @@ - // This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; -using UnityEditorInternal; using UnityEngine; -using System.Collections; using System.Collections.Generic; using Rotorz.ReorderableList; diff --git a/Assets/Fungus/Flowchart/Editor/CommandListAdaptor.cs b/Assets/Fungus/Flowchart/Editor/CommandListAdaptor.cs index 22e73dd7..352401a5 100644 --- a/Assets/Fungus/Flowchart/Editor/CommandListAdaptor.cs +++ b/Assets/Fungus/Flowchart/Editor/CommandListAdaptor.cs @@ -8,8 +8,6 @@ using UnityEngine; using UnityEditor; using System; -using System.Collections.Generic; -using System.Linq; using Rotorz.ReorderableList; namespace Fungus diff --git a/Assets/Fungus/Flowchart/Editor/CustomGUI.cs b/Assets/Fungus/Flowchart/Editor/CustomGUI.cs index aea4e5ed..07e64549 100644 --- a/Assets/Fungus/Flowchart/Editor/CustomGUI.cs +++ b/Assets/Fungus/Flowchart/Editor/CustomGUI.cs @@ -2,10 +2,6 @@ // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; -using UnityEngine.Internal; -using UnityEditor; -using System; -using System.Reflection; namespace Fungus { diff --git a/Assets/Fungus/Flowchart/Editor/EditorExtensions.cs b/Assets/Fungus/Flowchart/Editor/EditorExtensions.cs index b504bc6e..e5aed88a 100644 --- a/Assets/Fungus/Flowchart/Editor/EditorExtensions.cs +++ b/Assets/Fungus/Flowchart/Editor/EditorExtensions.cs @@ -2,13 +2,11 @@ // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; -using System.Collections; using System.Collections.Generic; using System.Linq; namespace Fungus { - public static class EditorExtensions { /// diff --git a/Assets/Fungus/Flowchart/Editor/EditorZoomArea.cs b/Assets/Fungus/Flowchart/Editor/EditorZoomArea.cs index d49d15af..6025f0f0 100644 --- a/Assets/Fungus/Flowchart/Editor/EditorZoomArea.cs +++ b/Assets/Fungus/Flowchart/Editor/EditorZoomArea.cs @@ -7,7 +7,6 @@ using UnityEngine; namespace Fungus { - // Helper Rect extension methods public static class RectExtensions { diff --git a/Assets/Fungus/Flowchart/Editor/EventHandlerEditor.cs b/Assets/Fungus/Flowchart/Editor/EventHandlerEditor.cs index a7caadfa..a8de2452 100644 --- a/Assets/Fungus/Flowchart/Editor/EventHandlerEditor.cs +++ b/Assets/Fungus/Flowchart/Editor/EventHandlerEditor.cs @@ -2,14 +2,10 @@ // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; -using UnityEditorInternal; using UnityEngine; -using System.Collections; -using System.Collections.Generic; namespace Fungus { - [CustomEditor (typeof(EventHandler), true)] public class EventHandlerEditor : Editor { diff --git a/Assets/Fungus/Flowchart/Editor/FlowchartEditor.cs b/Assets/Fungus/Flowchart/Editor/FlowchartEditor.cs index e70a43b7..8edf66d0 100644 --- a/Assets/Fungus/Flowchart/Editor/FlowchartEditor.cs +++ b/Assets/Fungus/Flowchart/Editor/FlowchartEditor.cs @@ -3,12 +3,10 @@ using UnityEditor; using UnityEngine; -using System.Collections; using System.Collections.Generic; using Rotorz.ReorderableList; using System.Linq; using System.Reflection; -using System.IO; namespace Fungus { diff --git a/Assets/Fungus/Flowchart/Editor/FlowchartMenuItems.cs b/Assets/Fungus/Flowchart/Editor/FlowchartMenuItems.cs index f1bd71e5..db685b29 100644 --- a/Assets/Fungus/Flowchart/Editor/FlowchartMenuItems.cs +++ b/Assets/Fungus/Flowchart/Editor/FlowchartMenuItems.cs @@ -3,12 +3,9 @@ using UnityEngine; using UnityEditor; -using System.IO; -using System.Collections; namespace Fungus { - public class FlowchartMenuItems { [MenuItem("Tools/Fungus/Create/Flowchart", false, 0)] diff --git a/Assets/Fungus/Flowchart/Editor/FlowchartWindow.cs b/Assets/Fungus/Flowchart/Editor/FlowchartWindow.cs index b27bfd3f..26b5c3f4 100644 --- a/Assets/Fungus/Flowchart/Editor/FlowchartWindow.cs +++ b/Assets/Fungus/Flowchart/Editor/FlowchartWindow.cs @@ -6,7 +6,6 @@ using UnityEditor; using UnityEditorInternal; using System; using System.Linq; -using System.Collections; using System.Collections.Generic; namespace Fungus diff --git a/Assets/Fungus/Flowchart/Editor/FungusEditorResources.cs b/Assets/Fungus/Flowchart/Editor/FungusEditorResources.cs index 724fe62c..45ee4344 100644 --- a/Assets/Fungus/Flowchart/Editor/FungusEditorResources.cs +++ b/Assets/Fungus/Flowchart/Editor/FungusEditorResources.cs @@ -7,7 +7,6 @@ using System; namespace Fungus { - internal static class FungusEditorResources { diff --git a/Assets/Fungus/Flowchart/Editor/GLDraw.cs b/Assets/Fungus/Flowchart/Editor/GLDraw.cs index d38dbcce..0283e040 100644 --- a/Assets/Fungus/Flowchart/Editor/GLDraw.cs +++ b/Assets/Fungus/Flowchart/Editor/GLDraw.cs @@ -2,12 +2,9 @@ // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; -using System.Collections; -using System; namespace Fungus { - /// /// Clipping code: http://forum.unity3d.com/threads/17066-How-to-draw-a-GUI-2D-quot-line-quot?p=230386#post230386 /// Thick line drawing code: http://unifycommunity.com/wiki/index.php?title=VectorLine diff --git a/Assets/Fungus/Flowchart/Editor/IfEditor.cs b/Assets/Fungus/Flowchart/Editor/IfEditor.cs index caa7a7dd..9bcffefc 100644 --- a/Assets/Fungus/Flowchart/Editor/IfEditor.cs +++ b/Assets/Fungus/Flowchart/Editor/IfEditor.cs @@ -3,13 +3,10 @@ using UnityEditor; using UnityEngine; -using System.Collections; using System.Collections.Generic; -using System.Reflection; namespace Fungus { - [CustomEditor (typeof(If), true)] public class IfEditor : CommandEditor { diff --git a/Assets/Fungus/Flowchart/Editor/InvokeEventEditor.cs b/Assets/Fungus/Flowchart/Editor/InvokeEventEditor.cs index 8d142da8..619306aa 100644 --- a/Assets/Fungus/Flowchart/Editor/InvokeEventEditor.cs +++ b/Assets/Fungus/Flowchart/Editor/InvokeEventEditor.cs @@ -2,9 +2,6 @@ // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; -using UnityEngine; -using System.Collections; -using System.Collections.Generic; namespace Fungus { diff --git a/Assets/Fungus/Flowchart/Editor/InvokeMethodEditor.cs b/Assets/Fungus/Flowchart/Editor/InvokeMethodEditor.cs index 925b5973..ed45edd2 100644 --- a/Assets/Fungus/Flowchart/Editor/InvokeMethodEditor.cs +++ b/Assets/Fungus/Flowchart/Editor/InvokeMethodEditor.cs @@ -8,11 +8,9 @@ using System.Linq; using System.Reflection; using System; using System.Collections.Generic; -using System.Text; namespace Fungus { - [CustomEditor(typeof(InvokeMethod))] public class InvokeMethodEditor : CommandEditor { diff --git a/Assets/Fungus/Flowchart/Editor/LabelEditor.cs b/Assets/Fungus/Flowchart/Editor/LabelEditor.cs index 8a450f34..2ecedcfa 100644 --- a/Assets/Fungus/Flowchart/Editor/LabelEditor.cs +++ b/Assets/Fungus/Flowchart/Editor/LabelEditor.cs @@ -2,12 +2,8 @@ // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; -using UnityEditorInternal; using UnityEngine; -using System; -using System.Collections; using System.Collections.Generic; -using System.Linq; namespace Fungus { diff --git a/Assets/Fungus/Flowchart/Editor/SetVariableEditor.cs b/Assets/Fungus/Flowchart/Editor/SetVariableEditor.cs index 7020d289..ad761a86 100644 --- a/Assets/Fungus/Flowchart/Editor/SetVariableEditor.cs +++ b/Assets/Fungus/Flowchart/Editor/SetVariableEditor.cs @@ -3,7 +3,6 @@ using UnityEditor; using UnityEngine; -using System.Collections; using System.Collections.Generic; namespace Fungus diff --git a/Assets/Fungus/Flowchart/Editor/VariableEditor.cs b/Assets/Fungus/Flowchart/Editor/VariableEditor.cs index 9768615c..73ad21b3 100644 --- a/Assets/Fungus/Flowchart/Editor/VariableEditor.cs +++ b/Assets/Fungus/Flowchart/Editor/VariableEditor.cs @@ -2,10 +2,8 @@ // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; -using UnityEditorInternal; using UnityEngine; using System; -using System.Collections; using System.Collections.Generic; using System.Linq; diff --git a/Assets/Fungus/Narrative/Editor/CharacterEditor.cs b/Assets/Fungus/Narrative/Editor/CharacterEditor.cs index 789a685b..69b290a7 100644 --- a/Assets/Fungus/Narrative/Editor/CharacterEditor.cs +++ b/Assets/Fungus/Narrative/Editor/CharacterEditor.cs @@ -3,13 +3,10 @@ using UnityEditor; using UnityEngine; -using System.Collections; using Rotorz.ReorderableList; -using System.Collections.Generic; namespace Fungus { - [CustomEditor (typeof(Character))] public class CharacterEditor : Editor { diff --git a/Assets/Fungus/Narrative/Editor/LocalizationEditor.cs b/Assets/Fungus/Narrative/Editor/LocalizationEditor.cs index 523b24de..20f499e4 100644 --- a/Assets/Fungus/Narrative/Editor/LocalizationEditor.cs +++ b/Assets/Fungus/Narrative/Editor/LocalizationEditor.cs @@ -3,14 +3,10 @@ using UnityEditor; using UnityEngine; -using System.Collections; -using System.Collections.Generic; using System.IO; -using Rotorz.ReorderableList; namespace Fungus { - [CustomEditor(typeof(Localization))] public class LocalizationEditor : Editor { diff --git a/Assets/Fungus/Narrative/Editor/MenuEditor.cs b/Assets/Fungus/Narrative/Editor/MenuEditor.cs index 60f6f072..60f9a001 100644 --- a/Assets/Fungus/Narrative/Editor/MenuEditor.cs +++ b/Assets/Fungus/Narrative/Editor/MenuEditor.cs @@ -3,13 +3,9 @@ using UnityEditor; using UnityEngine; -using System; -using System.Collections; -using System.Collections.Generic; namespace Fungus { - [CustomEditor (typeof(Fungus.Menu))] public class MenuEditor : CommandEditor { diff --git a/Assets/Fungus/Narrative/Editor/MenuTimerEditor.cs b/Assets/Fungus/Narrative/Editor/MenuTimerEditor.cs index d76023d9..37e0bcee 100644 --- a/Assets/Fungus/Narrative/Editor/MenuTimerEditor.cs +++ b/Assets/Fungus/Narrative/Editor/MenuTimerEditor.cs @@ -3,9 +3,6 @@ using UnityEditor; using UnityEngine; -using System; -using System.Collections; -using System.Collections.Generic; namespace Fungus { diff --git a/Assets/Fungus/Narrative/Editor/NarrativeMenuItems.cs b/Assets/Fungus/Narrative/Editor/NarrativeMenuItems.cs index 4253e7a3..41420b7f 100644 --- a/Assets/Fungus/Narrative/Editor/NarrativeMenuItems.cs +++ b/Assets/Fungus/Narrative/Editor/NarrativeMenuItems.cs @@ -3,11 +3,9 @@ using UnityEngine; using UnityEditor; -using System.Collections; namespace Fungus { - // The prefab names are prefixed with Fungus to avoid clashes with any other prefabs in the project public class NarrativeMenuItems { diff --git a/Assets/Fungus/Narrative/Editor/PortraitEditor.cs b/Assets/Fungus/Narrative/Editor/PortraitEditor.cs index c053d261..ba0df85b 100644 --- a/Assets/Fungus/Narrative/Editor/PortraitEditor.cs +++ b/Assets/Fungus/Narrative/Editor/PortraitEditor.cs @@ -2,19 +2,10 @@ // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; -using UnityEditorInternal; using UnityEngine; -using UnityEngine.UI; -using UnityEngine.Events; -using System; -using System.Collections; -using System.Collections.Generic; -using Rotorz.ReorderableList; - namespace Fungus { - [CustomEditor (typeof(Portrait))] public class PortraitEditor : CommandEditor { diff --git a/Assets/Fungus/Narrative/Editor/SayEditor.cs b/Assets/Fungus/Narrative/Editor/SayEditor.cs index 5446f0b1..4855cac5 100644 --- a/Assets/Fungus/Narrative/Editor/SayEditor.cs +++ b/Assets/Fungus/Narrative/Editor/SayEditor.cs @@ -2,15 +2,11 @@ // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; -using UnityEditorInternal; using UnityEngine; -using System.Collections; using System.Collections.Generic; -using Rotorz.ReorderableList; namespace Fungus { - [CustomEditor (typeof(Say))] public class SayEditor : CommandEditor { diff --git a/Assets/Fungus/Narrative/Editor/StageEditor.cs b/Assets/Fungus/Narrative/Editor/StageEditor.cs index 621eb43a..fed194ac 100644 --- a/Assets/Fungus/Narrative/Editor/StageEditor.cs +++ b/Assets/Fungus/Narrative/Editor/StageEditor.cs @@ -2,19 +2,10 @@ // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; -using UnityEditorInternal; using UnityEngine; -using UnityEngine.UI; -using UnityEngine.Events; -using System; -using System.Collections; -using System.Collections.Generic; -using Rotorz.ReorderableList; - namespace Fungus { - [CustomEditor (typeof(ControlStage))] public class StageEditor : CommandEditor { diff --git a/Assets/Fungus/Sprite/Editor/SetColliderEditor.cs b/Assets/Fungus/Sprite/Editor/SetColliderEditor.cs index 03199919..2e271285 100644 --- a/Assets/Fungus/Sprite/Editor/SetColliderEditor.cs +++ b/Assets/Fungus/Sprite/Editor/SetColliderEditor.cs @@ -3,8 +3,6 @@ using UnityEditor; using UnityEngine; -using System.Collections; -using System.Collections.Generic; using Rotorz.ReorderableList; namespace Fungus diff --git a/Assets/Fungus/Sprite/Editor/SpriteMenuItems.cs b/Assets/Fungus/Sprite/Editor/SpriteMenuItems.cs index 02370911..3fb88e7c 100644 --- a/Assets/Fungus/Sprite/Editor/SpriteMenuItems.cs +++ b/Assets/Fungus/Sprite/Editor/SpriteMenuItems.cs @@ -1,13 +1,10 @@ // This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) -using UnityEngine; using UnityEditor; -using System.Collections; namespace Fungus { - public class SpriteMenuItems { [MenuItem("Tools/Fungus/Create/Clickable Sprite", false, 150)] diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/DropDownControl.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/DropDownControl.cs index b4ea9559..8fd9ad9e 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/DropDownControl.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/DropDownControl.cs @@ -5,7 +5,6 @@ // https://bitbucket.org/Unity-Technologies/unitytesttools/src/a30d562427e9/Assets/UnityTestTools/ using System; -using System.Collections.Generic; using UnityEditor; using UnityEngine; diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/ExecuteHandlerEditor.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/ExecuteHandlerEditor.cs index 816322b4..0b04044d 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/ExecuteHandlerEditor.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/ExecuteHandlerEditor.cs @@ -5,15 +5,12 @@ // https://bitbucket.org/Unity-Technologies/unitytesttools/src/a30d562427e9/Assets/UnityTestTools/ using System; -using System.Collections.Generic; -using System.Linq; using System.Reflection; using UnityEditor; using UnityEngine; namespace Fungus { - [CustomEditor(typeof(ExecuteHandler))] public class ExecuteHandlerEditor : Editor { diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaBindingsEditor.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaBindingsEditor.cs index 6019f722..5a1b0b2e 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaBindingsEditor.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaBindingsEditor.cs @@ -8,12 +8,10 @@ using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; -using System.IO; using UnityEditor.Callbacks; namespace Fungus { - [CustomEditor (typeof(LuaBindings))] public class LuaBindingsEditor : Editor { diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaScriptEditor.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaScriptEditor.cs index 010306fb..655610e0 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaScriptEditor.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaScriptEditor.cs @@ -2,14 +2,9 @@ // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; -using UnityEditorInternal; -using UnityEngine; -using System.Collections; -using System.Collections.Generic; namespace Fungus { - [CustomEditor (typeof(LuaScript))] public class LuaScriptEditor : Editor { diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaStoreEditor.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaStoreEditor.cs index 167b8eca..27c3e2f0 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaStoreEditor.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaStoreEditor.cs @@ -3,13 +3,10 @@ using UnityEngine; using UnityEditor; -using System.Collections; -using MoonSharp.Interpreter; using MoonSharp.Interpreter.Serialization; namespace Fungus { - [CustomEditor(typeof(LuaStore))] public class LuaStoreEditor : Editor { diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaUtilsEditor.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaUtilsEditor.cs index adaf88ad..09d46182 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaUtilsEditor.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaUtilsEditor.cs @@ -4,11 +4,6 @@ using UnityEditor; using UnityEditorInternal; using UnityEngine; -using System.Collections; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.IO; namespace Fungus { @@ -67,5 +62,4 @@ namespace Fungus serializedObject.ApplyModifiedProperties(); } } - } diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/MenuItems.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/MenuItems.cs index d6ff9480..b61be8ad 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/MenuItems.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/MenuItems.cs @@ -4,11 +4,9 @@ using UnityEngine; using UnityEditor; using System.IO; -using System.Collections; namespace Fungus { - public class MenuItems { [MenuItem("Tools/Fungus/Create/Lua", false, 2000)] diff --git a/Assets/Fungus/UI/Editor/WriteEditor.cs b/Assets/Fungus/UI/Editor/WriteEditor.cs index 0653ebc0..4d4abf36 100644 --- a/Assets/Fungus/UI/Editor/WriteEditor.cs +++ b/Assets/Fungus/UI/Editor/WriteEditor.cs @@ -2,14 +2,10 @@ // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; -using UnityEditorInternal; using UnityEngine; -using System.Collections; -using System.Collections.Generic; namespace Fungus { - [CustomEditor (typeof(Write))] public class WriteEditor : CommandEditor { diff --git a/Assets/Fungus/UI/Editor/WriterAudioEditor.cs b/Assets/Fungus/UI/Editor/WriterAudioEditor.cs index 0b1650c9..337cf839 100644 --- a/Assets/Fungus/UI/Editor/WriterAudioEditor.cs +++ b/Assets/Fungus/UI/Editor/WriterAudioEditor.cs @@ -2,15 +2,11 @@ // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEditor; -using UnityEditorInternal; using UnityEngine; -using System.Collections; -using System.Collections.Generic; using Rotorz.ReorderableList; namespace Fungus { - [CustomEditor (typeof(WriterAudio))] public class WriterAudioEditor : Editor {