Browse Source

Tidied up editor using statements.

master
Christopher 9 years ago
parent
commit
5495ed8ebf
  1. 8
      Assets/Fungus/Audio/Editor/ControlAudioEditor.cs
  2. 2
      Assets/Fungus/Camera/Editor/CameraMenuItems.cs
  3. 3
      Assets/Fungus/Camera/Editor/ViewEditor.cs
  4. 1
      Assets/Fungus/Flowchart/Editor/BlockEditor.cs
  5. 1
      Assets/Fungus/Flowchart/Editor/BlockInspector.cs
  6. 2
      Assets/Fungus/Flowchart/Editor/CallEditor.cs
  7. 3
      Assets/Fungus/Flowchart/Editor/CommandEditor.cs
  8. 2
      Assets/Fungus/Flowchart/Editor/CommandListAdaptor.cs
  9. 4
      Assets/Fungus/Flowchart/Editor/CustomGUI.cs
  10. 2
      Assets/Fungus/Flowchart/Editor/EditorExtensions.cs
  11. 1
      Assets/Fungus/Flowchart/Editor/EditorZoomArea.cs
  12. 4
      Assets/Fungus/Flowchart/Editor/EventHandlerEditor.cs
  13. 2
      Assets/Fungus/Flowchart/Editor/FlowchartEditor.cs
  14. 3
      Assets/Fungus/Flowchart/Editor/FlowchartMenuItems.cs
  15. 1
      Assets/Fungus/Flowchart/Editor/FlowchartWindow.cs
  16. 1
      Assets/Fungus/Flowchart/Editor/FungusEditorResources.cs
  17. 3
      Assets/Fungus/Flowchart/Editor/GLDraw.cs
  18. 3
      Assets/Fungus/Flowchart/Editor/IfEditor.cs
  19. 3
      Assets/Fungus/Flowchart/Editor/InvokeEventEditor.cs
  20. 2
      Assets/Fungus/Flowchart/Editor/InvokeMethodEditor.cs
  21. 4
      Assets/Fungus/Flowchart/Editor/LabelEditor.cs
  22. 1
      Assets/Fungus/Flowchart/Editor/SetVariableEditor.cs
  23. 2
      Assets/Fungus/Flowchart/Editor/VariableEditor.cs
  24. 3
      Assets/Fungus/Narrative/Editor/CharacterEditor.cs
  25. 4
      Assets/Fungus/Narrative/Editor/LocalizationEditor.cs
  26. 4
      Assets/Fungus/Narrative/Editor/MenuEditor.cs
  27. 3
      Assets/Fungus/Narrative/Editor/MenuTimerEditor.cs
  28. 2
      Assets/Fungus/Narrative/Editor/NarrativeMenuItems.cs
  29. 9
      Assets/Fungus/Narrative/Editor/PortraitEditor.cs
  30. 4
      Assets/Fungus/Narrative/Editor/SayEditor.cs
  31. 9
      Assets/Fungus/Narrative/Editor/StageEditor.cs
  32. 2
      Assets/Fungus/Sprite/Editor/SetColliderEditor.cs
  33. 3
      Assets/Fungus/Sprite/Editor/SpriteMenuItems.cs
  34. 1
      Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/DropDownControl.cs
  35. 3
      Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/ExecuteHandlerEditor.cs
  36. 2
      Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaBindingsEditor.cs
  37. 5
      Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaScriptEditor.cs
  38. 3
      Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaStoreEditor.cs
  39. 6
      Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaUtilsEditor.cs
  40. 2
      Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/MenuItems.cs
  41. 4
      Assets/Fungus/UI/Editor/WriteEditor.cs
  42. 4
      Assets/Fungus/UI/Editor/WriterAudioEditor.cs

8
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) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEditor; using UnityEditor;
using UnityEditorInternal;
using UnityEngine; using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
using System;
using System.Collections;
using System.Collections.Generic;
using Rotorz.ReorderableList;
namespace Fungus namespace Fungus
{ {

2
Assets/Fungus/Camera/Editor/CameraMenuItems.cs

@ -3,11 +3,9 @@
using UnityEngine; using UnityEngine;
using UnityEditor; using UnityEditor;
using System.Collections;
namespace Fungus namespace Fungus
{ {
public class CameraMenuItems public class CameraMenuItems
{ {
[MenuItem("Tools/Fungus/Create/View", false, 100)] [MenuItem("Tools/Fungus/Create/View", false, 100)]

3
Assets/Fungus/Camera/Editor/ViewEditor.cs

@ -3,12 +3,9 @@
using UnityEditor; using UnityEditor;
using UnityEngine; using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace Fungus namespace Fungus
{ {
[CanEditMultipleObjects] [CanEditMultipleObjects]
[CustomEditor (typeof(View))] [CustomEditor (typeof(View))]
public class ViewEditor : Editor public class ViewEditor : Editor

1
Assets/Fungus/Flowchart/Editor/BlockEditor.cs

@ -15,7 +15,6 @@ using System.Reflection;
namespace Fungus namespace Fungus
{ {
[CustomEditor (typeof(Block))] [CustomEditor (typeof(Block))]
public class BlockEditor : Editor public class BlockEditor : Editor
{ {

1
Assets/Fungus/Flowchart/Editor/BlockInspector.cs

@ -4,7 +4,6 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using UnityEditor; using UnityEditor;
using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;

2
Assets/Fungus/Flowchart/Editor/CallEditor.cs

@ -3,8 +3,6 @@
using UnityEditor; using UnityEditor;
using UnityEngine; using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace Fungus namespace Fungus
{ {

3
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). // 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) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEditor; using UnityEditor;
using UnityEditorInternal;
using UnityEngine; using UnityEngine;
using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using Rotorz.ReorderableList; using Rotorz.ReorderableList;

2
Assets/Fungus/Flowchart/Editor/CommandListAdaptor.cs

@ -8,8 +8,6 @@
using UnityEngine; using UnityEngine;
using UnityEditor; using UnityEditor;
using System; using System;
using System.Collections.Generic;
using System.Linq;
using Rotorz.ReorderableList; using Rotorz.ReorderableList;
namespace Fungus namespace Fungus

4
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) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine; using UnityEngine;
using UnityEngine.Internal;
using UnityEditor;
using System;
using System.Reflection;
namespace Fungus namespace Fungus
{ {

2
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) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine; using UnityEngine;
using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace Fungus namespace Fungus
{ {
public static class EditorExtensions public static class EditorExtensions
{ {
/// <summary> /// <summary>

1
Assets/Fungus/Flowchart/Editor/EditorZoomArea.cs

@ -7,7 +7,6 @@ using UnityEngine;
namespace Fungus namespace Fungus
{ {
// Helper Rect extension methods // Helper Rect extension methods
public static class RectExtensions public static class RectExtensions
{ {

4
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) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEditor; using UnityEditor;
using UnityEditorInternal;
using UnityEngine; using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace Fungus namespace Fungus
{ {
[CustomEditor (typeof(EventHandler), true)] [CustomEditor (typeof(EventHandler), true)]
public class EventHandlerEditor : Editor public class EventHandlerEditor : Editor
{ {

2
Assets/Fungus/Flowchart/Editor/FlowchartEditor.cs

@ -3,12 +3,10 @@
using UnityEditor; using UnityEditor;
using UnityEngine; using UnityEngine;
using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using Rotorz.ReorderableList; using Rotorz.ReorderableList;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using System.IO;
namespace Fungus namespace Fungus
{ {

3
Assets/Fungus/Flowchart/Editor/FlowchartMenuItems.cs

@ -3,12 +3,9 @@
using UnityEngine; using UnityEngine;
using UnityEditor; using UnityEditor;
using System.IO;
using System.Collections;
namespace Fungus namespace Fungus
{ {
public class FlowchartMenuItems public class FlowchartMenuItems
{ {
[MenuItem("Tools/Fungus/Create/Flowchart", false, 0)] [MenuItem("Tools/Fungus/Create/Flowchart", false, 0)]

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

@ -6,7 +6,6 @@ using UnityEditor;
using UnityEditorInternal; using UnityEditorInternal;
using System; using System;
using System.Linq; using System.Linq;
using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
namespace Fungus namespace Fungus

1
Assets/Fungus/Flowchart/Editor/FungusEditorResources.cs

@ -7,7 +7,6 @@ using System;
namespace Fungus namespace Fungus
{ {
internal static class FungusEditorResources internal static class FungusEditorResources
{ {

3
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) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine; using UnityEngine;
using System.Collections;
using System;
namespace Fungus namespace Fungus
{ {
/// <summary> /// <summary>
/// Clipping code: http://forum.unity3d.com/threads/17066-How-to-draw-a-GUI-2D-quot-line-quot?p=230386#post230386 /// 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 /// Thick line drawing code: http://unifycommunity.com/wiki/index.php?title=VectorLine

3
Assets/Fungus/Flowchart/Editor/IfEditor.cs

@ -3,13 +3,10 @@
using UnityEditor; using UnityEditor;
using UnityEngine; using UnityEngine;
using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Reflection;
namespace Fungus namespace Fungus
{ {
[CustomEditor (typeof(If), true)] [CustomEditor (typeof(If), true)]
public class IfEditor : CommandEditor public class IfEditor : CommandEditor
{ {

3
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) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEditor; using UnityEditor;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace Fungus namespace Fungus
{ {

2
Assets/Fungus/Flowchart/Editor/InvokeMethodEditor.cs

@ -8,11 +8,9 @@ using System.Linq;
using System.Reflection; using System.Reflection;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Text;
namespace Fungus namespace Fungus
{ {
[CustomEditor(typeof(InvokeMethod))] [CustomEditor(typeof(InvokeMethod))]
public class InvokeMethodEditor : CommandEditor public class InvokeMethodEditor : CommandEditor
{ {

4
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) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEditor; using UnityEditor;
using UnityEditorInternal;
using UnityEngine; using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
namespace Fungus namespace Fungus
{ {

1
Assets/Fungus/Flowchart/Editor/SetVariableEditor.cs

@ -3,7 +3,6 @@
using UnityEditor; using UnityEditor;
using UnityEngine; using UnityEngine;
using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
namespace Fungus namespace Fungus

2
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) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEditor; using UnityEditor;
using UnityEditorInternal;
using UnityEngine; using UnityEngine;
using System; using System;
using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;

3
Assets/Fungus/Narrative/Editor/CharacterEditor.cs

@ -3,13 +3,10 @@
using UnityEditor; using UnityEditor;
using UnityEngine; using UnityEngine;
using System.Collections;
using Rotorz.ReorderableList; using Rotorz.ReorderableList;
using System.Collections.Generic;
namespace Fungus namespace Fungus
{ {
[CustomEditor (typeof(Character))] [CustomEditor (typeof(Character))]
public class CharacterEditor : Editor public class CharacterEditor : Editor
{ {

4
Assets/Fungus/Narrative/Editor/LocalizationEditor.cs

@ -3,14 +3,10 @@
using UnityEditor; using UnityEditor;
using UnityEngine; using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.IO; using System.IO;
using Rotorz.ReorderableList;
namespace Fungus namespace Fungus
{ {
[CustomEditor(typeof(Localization))] [CustomEditor(typeof(Localization))]
public class LocalizationEditor : Editor public class LocalizationEditor : Editor
{ {

4
Assets/Fungus/Narrative/Editor/MenuEditor.cs

@ -3,13 +3,9 @@
using UnityEditor; using UnityEditor;
using UnityEngine; using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
namespace Fungus namespace Fungus
{ {
[CustomEditor (typeof(Fungus.Menu))] [CustomEditor (typeof(Fungus.Menu))]
public class MenuEditor : CommandEditor public class MenuEditor : CommandEditor
{ {

3
Assets/Fungus/Narrative/Editor/MenuTimerEditor.cs

@ -3,9 +3,6 @@
using UnityEditor; using UnityEditor;
using UnityEngine; using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
namespace Fungus namespace Fungus
{ {

2
Assets/Fungus/Narrative/Editor/NarrativeMenuItems.cs

@ -3,11 +3,9 @@
using UnityEngine; using UnityEngine;
using UnityEditor; using UnityEditor;
using System.Collections;
namespace Fungus namespace Fungus
{ {
// The prefab names are prefixed with Fungus to avoid clashes with any other prefabs in the project // The prefab names are prefixed with Fungus to avoid clashes with any other prefabs in the project
public class NarrativeMenuItems public class NarrativeMenuItems
{ {

9
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) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEditor; using UnityEditor;
using UnityEditorInternal;
using UnityEngine; using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
using System;
using System.Collections;
using System.Collections.Generic;
using Rotorz.ReorderableList;
namespace Fungus namespace Fungus
{ {
[CustomEditor (typeof(Portrait))] [CustomEditor (typeof(Portrait))]
public class PortraitEditor : CommandEditor public class PortraitEditor : CommandEditor
{ {

4
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) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEditor; using UnityEditor;
using UnityEditorInternal;
using UnityEngine; using UnityEngine;
using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using Rotorz.ReorderableList;
namespace Fungus namespace Fungus
{ {
[CustomEditor (typeof(Say))] [CustomEditor (typeof(Say))]
public class SayEditor : CommandEditor public class SayEditor : CommandEditor
{ {

9
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) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEditor; using UnityEditor;
using UnityEditorInternal;
using UnityEngine; using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
using System;
using System.Collections;
using System.Collections.Generic;
using Rotorz.ReorderableList;
namespace Fungus namespace Fungus
{ {
[CustomEditor (typeof(ControlStage))] [CustomEditor (typeof(ControlStage))]
public class StageEditor : CommandEditor public class StageEditor : CommandEditor
{ {

2
Assets/Fungus/Sprite/Editor/SetColliderEditor.cs

@ -3,8 +3,6 @@
using UnityEditor; using UnityEditor;
using UnityEngine; using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Rotorz.ReorderableList; using Rotorz.ReorderableList;
namespace Fungus namespace Fungus

3
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). // 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) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine;
using UnityEditor; using UnityEditor;
using System.Collections;
namespace Fungus namespace Fungus
{ {
public class SpriteMenuItems public class SpriteMenuItems
{ {
[MenuItem("Tools/Fungus/Create/Clickable Sprite", false, 150)] [MenuItem("Tools/Fungus/Create/Clickable Sprite", false, 150)]

1
Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/DropDownControl.cs vendored

@ -5,7 +5,6 @@
// https://bitbucket.org/Unity-Technologies/unitytesttools/src/a30d562427e9/Assets/UnityTestTools/ // https://bitbucket.org/Unity-Technologies/unitytesttools/src/a30d562427e9/Assets/UnityTestTools/
using System; using System;
using System.Collections.Generic;
using UnityEditor; using UnityEditor;
using UnityEngine; using UnityEngine;

3
Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/ExecuteHandlerEditor.cs vendored

@ -5,15 +5,12 @@
// https://bitbucket.org/Unity-Technologies/unitytesttools/src/a30d562427e9/Assets/UnityTestTools/ // https://bitbucket.org/Unity-Technologies/unitytesttools/src/a30d562427e9/Assets/UnityTestTools/
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection; using System.Reflection;
using UnityEditor; using UnityEditor;
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus
{ {
[CustomEditor(typeof(ExecuteHandler))] [CustomEditor(typeof(ExecuteHandler))]
public class ExecuteHandlerEditor : Editor public class ExecuteHandlerEditor : Editor
{ {

2
Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaBindingsEditor.cs vendored

@ -8,12 +8,10 @@ using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using System.IO;
using UnityEditor.Callbacks; using UnityEditor.Callbacks;
namespace Fungus namespace Fungus
{ {
[CustomEditor (typeof(LuaBindings))] [CustomEditor (typeof(LuaBindings))]
public class LuaBindingsEditor : Editor public class LuaBindingsEditor : Editor
{ {

5
Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaScriptEditor.cs vendored

@ -2,14 +2,9 @@
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEditor; using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace Fungus namespace Fungus
{ {
[CustomEditor (typeof(LuaScript))] [CustomEditor (typeof(LuaScript))]
public class LuaScriptEditor : Editor public class LuaScriptEditor : Editor
{ {

3
Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaStoreEditor.cs vendored

@ -3,13 +3,10 @@
using UnityEngine; using UnityEngine;
using UnityEditor; using UnityEditor;
using System.Collections;
using MoonSharp.Interpreter;
using MoonSharp.Interpreter.Serialization; using MoonSharp.Interpreter.Serialization;
namespace Fungus namespace Fungus
{ {
[CustomEditor(typeof(LuaStore))] [CustomEditor(typeof(LuaStore))]
public class LuaStoreEditor : Editor public class LuaStoreEditor : Editor
{ {

6
Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaUtilsEditor.cs vendored

@ -4,11 +4,6 @@
using UnityEditor; using UnityEditor;
using UnityEditorInternal; using UnityEditorInternal;
using UnityEngine; using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.IO;
namespace Fungus namespace Fungus
{ {
@ -67,5 +62,4 @@ namespace Fungus
serializedObject.ApplyModifiedProperties(); serializedObject.ApplyModifiedProperties();
} }
} }
} }

2
Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/MenuItems.cs vendored

@ -4,11 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEditor; using UnityEditor;
using System.IO; using System.IO;
using System.Collections;
namespace Fungus namespace Fungus
{ {
public class MenuItems public class MenuItems
{ {
[MenuItem("Tools/Fungus/Create/Lua", false, 2000)] [MenuItem("Tools/Fungus/Create/Lua", false, 2000)]

4
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) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEditor; using UnityEditor;
using UnityEditorInternal;
using UnityEngine; using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace Fungus namespace Fungus
{ {
[CustomEditor (typeof(Write))] [CustomEditor (typeof(Write))]
public class WriteEditor : CommandEditor public class WriteEditor : CommandEditor
{ {

4
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) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEditor; using UnityEditor;
using UnityEditorInternal;
using UnityEngine; using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Rotorz.ReorderableList; using Rotorz.ReorderableList;
namespace Fungus namespace Fungus
{ {
[CustomEditor (typeof(WriterAudio))] [CustomEditor (typeof(WriterAudio))]
public class WriterAudioEditor : Editor public class WriterAudioEditor : Editor
{ {

Loading…
Cancel
Save