@ -2,7 +2,7 @@ using UnityEngine;
using System;
using System.Collections;
namespace Fungus.Script
namespace Fungus
{
[CommandInfo("Animation",
"Set Anim Bool",
"Set Anim Float",
"Set Anim Integer",
"Set Anim Trigger",
@ -1,7 +1,7 @@
using UnityEngine;
[CommandInfo("Audio",
"Play Music",
"Play Sound",
"Set Music Volume",
"Stop Music",
[CommandInfo("Camera",
"Fade To View",
"Move To View",
"Shake Camera",
@ -3,7 +3,7 @@ using System;
using System.Collections.Generic;
[CommandInfo("Dialog",
"Add Option",
"Choose",
"Say",
"Set Choose Dialog",
"Set Say Dialog",
@ -5,7 +5,7 @@ using System.Collections;
using Rotorz.ReorderableList;
[CustomEditor (typeof(AddOption))]
@ -2,7 +2,7 @@ using UnityEditor;
[CustomEditor (typeof(Character))]
[CustomEditor (typeof(Choose))]
[CustomEditor (typeof(Say))]
[CustomEditor (typeof(SetChooseDialog))]
[CustomEditor (typeof(SetSayDialog))]
[ExecuteInEditMode]
@ -5,7 +5,7 @@ using System;
@ -6,7 +6,7 @@ using System.Collections;
using System.Text.RegularExpressions;
public class Dialog : MonoBehaviour
@ -4,7 +4,7 @@ using System;
[CommandInfo("Scripting",
"Call",
"Else",
"End If",
public enum CompareOperator
"Load Globals",
"Load Scene",
"Save Globals",
"Set Variable",
"Wait",
@ -3,7 +3,7 @@ using UnityEngine;
[CustomEditor (typeof(Call))]
public class CallEditor : CommandEditor
@ -4,7 +4,7 @@ using UnityEngine;
[CustomEditor (typeof(Command), true)]
@ -7,7 +7,7 @@ using UnityEditor;
public class CommandListAdaptor : IReorderableListAdaptor {
@ -5,7 +5,7 @@ using System.Collections.Generic;
using System.Linq;
[CustomEditor (typeof(FungusScript))]
public class FungusScriptEditor : Editor
public class FungusScriptWindow : EditorWindow
[CustomEditor (typeof(If))]
@ -6,7 +6,7 @@ using System.Collections.Generic;
[CustomEditor (typeof(Sequence))]
[CustomEditor (typeof(SetVariable))]
[CustomEditor (typeof(Variable), true)]
public class VariableEditor : CommandEditor
public class VariableListAdaptor : IReorderableListAdaptor {
public class BooleanVariable : Variable
@ -6,7 +6,7 @@ using System;
public class CommandInfoAttribute : Attribute
public class FloatVariable : Variable
@ -4,7 +4,7 @@ using System.Linq;
public class FungusScript : MonoBehaviour
@ -6,7 +6,7 @@ using System.Text.RegularExpressions;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
/**
* Static data storage class for managing global game variables.
public class IntegerVariable : Variable
public class StringVariable : Variable
using Fungus.Script;
using Fungus;
@ -2,7 +2,7 @@
public enum VariableType
[CommandInfo("Sprite",
"Fade Sprite",
"Show Sprite",