@ -3,7 +3,7 @@
using System.IO;
namespace Fungus
namespace Fungus.EditorUtils
{
/// <summary>
/// Prevents saving of selected blocks and commands to avoid version control conflicts.
@ -13,7 +13,7 @@ using Rotorz.ReorderableList;
using System.Reflection;
[CustomEditor (typeof(Block))]
public class BlockEditor : Editor
@ -7,7 +7,7 @@ using UnityEditor;
using System.Collections.Generic;
using System.Linq;
/// Temp hidden object which lets us use the entire inspector window to inspect the block command list.
@ -5,7 +5,7 @@ using UnityEditor;
using UnityEngine;
using Fungus.Commands;
[CustomEditor (typeof(Call))]
public class CallEditor : CommandEditor
@ -4,7 +4,7 @@
using UnityEditor;
public class CameraMenuItems
using Rotorz.ReorderableList;
[CustomEditor (typeof(Character))]
public class CharacterEditor : Editor
@ -6,7 +6,7 @@ using UnityEngine;
[CustomEditor (typeof(Command), true)]
@ -12,7 +12,7 @@ using Rotorz.ReorderableList;
using Fungus.Utils;
public class CommandListAdaptor : IReorderableListAdaptor {
[CustomEditor (typeof(ControlAudio))]
/// Utility functions for drawing custom UI in the editor.
@ -1,7 +1,7 @@
using UnityEngine;
using System.Collections;
/// Dummy class to avoid compile errors for users upgrading from Fungus 2 to Fungus 3 via unitypackage.
@ -5,7 +5,7 @@ using UnityEngine;
public static class EditorExtensions
@ -5,7 +5,7 @@
// Helper Rect extension methods
public static class RectExtensions
[CustomEditor (typeof(EventHandler), true)]
public class EventHandlerEditor : Editor
@ -8,7 +8,7 @@ using Rotorz.ReorderableList;
[CustomEditor (typeof(Flowchart))]
public class FlowchartEditor : Editor
public class FlowchartMenuItems
@ -9,7 +9,7 @@ using System.Linq;
public class FlowchartWindow : EditorWindow
using System;
internal static class FungusEditorResources
/// Clipping code: http://forum.unity3d.com/threads/17066-How-to-draw-a-GUI-2D-quot-line-quot?p=230386#post230386
@ -7,7 +7,7 @@ using System.Collections.Generic;
using Fungus.Variables;
[CustomEditor (typeof(If), true)]
public class IfEditor : CommandEditor
[CustomEditor (typeof(InvokeEvent))]
public class InvokeEventEditor : CommandEditor
@ -11,7 +11,7 @@ using System.Collections.Generic;
[CustomEditor(typeof(InvokeMethod))]
public class InvokeMethodEditor : CommandEditor
[CustomEditor (typeof(Label))]
public class LabelEditor : CommandEditor
[CustomEditor(typeof(Localization))]
public class LocalizationEditor : Editor
[CustomEditor (typeof(Fungus.Commands.Menu))]
public class MenuEditor : CommandEditor
[CustomEditor (typeof(MenuTimer))]
public class MenuTimerEditor : CommandEditor
// The prefab names are prefixed with Fungus to avoid clashes with any other prefabs in the project
public class NarrativeMenuItems
[CustomEditor (typeof(Portrait))]
public class PortraitEditor : CommandEditor
[CustomEditor (typeof(Say))]
public class SayEditor : CommandEditor
public static class SerializedPropertyExtensions
[CustomEditor (typeof(SetCollider))]
public class SetColliderEditor : CommandEditor
[CustomEditor (typeof(SetVariable))]
public class SpriteMenuItems
[CustomEditor (typeof(ControlStage))]
public class StageEditor : CommandEditor
@ -8,7 +8,7 @@ using System.Collections.Generic;
[CustomEditor (typeof(Variable), true)]
public class VariableEditor : CommandEditor
@ -10,7 +10,7 @@ using UnityEditor;
public class VariableListAdaptor : IReorderableListAdaptor {
[CanEditMultipleObjects]
[CustomEditor (typeof(View))]
[CustomEditor (typeof(Write))]
public class WriteEditor : CommandEditor
[CustomEditor (typeof(WriterAudio))]
public class WriterAudioEditor : Editor