Browse Source

Renamed FungusEditorWindow to FungusScriptWindow

master
chrisgregan 10 years ago
parent
commit
1727e664f4
  1. 4
      Assets/Fungus/Editor/FungusScript/FungusScriptEditor.cs
  2. 6
      Assets/Fungus/Editor/FungusScript/FungusScriptWindow.cs
  3. 0
      Assets/Fungus/Editor/FungusScript/FungusScriptWindow.cs.meta
  4. 2
      Assets/Fungus/Editor/FungusScript/FungusVariableListAdaptor.cs
  5. 4
      Assets/Fungus/Editor/FungusScript/VariablesWindow.cs
  6. BIN
      Assets/Shuttle/ShuttleGame.unity

4
Assets/Fungus/Editor/FungusScript/FungusScriptEditor.cs

@ -68,9 +68,9 @@ namespace Fungus.Script
GUILayout.BeginHorizontal();
GUILayout.FlexibleSpace();
if (GUILayout.Button("Open Fungus Editor"))
if (GUILayout.Button("Open Editor"))
{
EditorWindow.GetWindow(typeof(FungusEditorWindow), false, "Fungus Editor");
EditorWindow.GetWindow(typeof(FungusScriptWindow), false, "Fungus Script");
}
GUILayout.FlexibleSpace();
GUILayout.EndHorizontal();

6
Assets/Fungus/Editor/FungusScript/FungusEditorWindow.cs → Assets/Fungus/Editor/FungusScript/FungusScriptWindow.cs

@ -7,16 +7,16 @@ using System.Collections.Generic;
namespace Fungus.Script
{
public class FungusEditorWindow : EditorWindow
public class FungusScriptWindow : EditorWindow
{
private List<Sequence> windowSequenceMap = new List<Sequence>();
static public FungusScript activeFungusScript;
[MenuItem("Window/Fungus Editor")]
[MenuItem("Window/Fungus Script")]
static void Init()
{
GetWindow(typeof(FungusEditorWindow), false, "Fungus Editor");
GetWindow(typeof(FungusScriptWindow), false, "Fungus Script");
}
public void OnInspectorUpdate()

0
Assets/Fungus/Editor/FungusScript/FungusEditorWindow.cs.meta → Assets/Fungus/Editor/FungusScript/FungusScriptWindow.cs.meta

2
Assets/Fungus/Editor/FungusScript/FungusVariableListAdaptor.cs

@ -174,7 +174,7 @@ namespace Fungus.Script
variable.scope = scope;
}
FungusScript fungusScript = FungusEditorWindow.GetFungusScript();
FungusScript fungusScript = FungusScriptWindow.GetFungusScript();
if (fungusScript != null)
{
bool highlight = false;

4
Assets/Fungus/Editor/FungusScript/VariablesWindow.cs

@ -1,4 +1,4 @@
using UnityEngine;
using UnityEngine;
using UnityEditor;
using System;
using System.Collections;
@ -18,7 +18,7 @@ namespace Fungus.Script
void OnGUI()
{
FungusScript fungusScript = FungusEditorWindow.GetFungusScript();
FungusScript fungusScript = FungusScriptWindow.GetFungusScript();
if (fungusScript == null)
{

BIN
Assets/Shuttle/ShuttleGame.unity

Binary file not shown.
Loading…
Cancel
Save