Browse Source

Moved info text object tp FungusLua

master
Chris Gregan 9 years ago
parent
commit
77c5c5f616
  1. 6
      Assets/Fungus/Flowchart/Editor/FlowchartMenuItems.cs
  2. 0
      Assets/Fungus/Thirdparty/FungusLua/Resources/Prefabs/InfoText.prefab
  3. 0
      Assets/Fungus/Thirdparty/FungusLua/Resources/Prefabs/InfoText.prefab.meta
  4. 9
      Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/MenuItems.cs

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

@ -49,12 +49,6 @@ namespace Fungus
AssetDatabase.ExportPackage(folders, path, ExportPackageOptions.Recurse);
}
[MenuItem("Tools/Fungus/Utilities/Info Text")]
static void SpawnInfoText()
{
SpawnPrefab("InfoText");
}
public static GameObject SpawnPrefab(string prefabName)
{

0
Assets/Fungus/Flowchart/Resources/InfoText.prefab → Assets/Fungus/Thirdparty/FungusLua/Resources/Prefabs/InfoText.prefab vendored

0
Assets/Fungus/Flowchart/Resources/InfoText.prefab.meta → Assets/Fungus/Thirdparty/FungusLua/Resources/Prefabs/InfoText.prefab.meta vendored

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

@ -111,6 +111,15 @@ namespace Fungus
var asset = ScriptableObject.CreateInstance<T>();
ProjectWindowUtil.CreateAsset(asset, typeof(T).Name + ".asset");
}
/// <summary>
/// Create an info text object which displays help info in the top left of the sceen.
/// </summary>
[MenuItem("Tools/Fungus/Utilities/Info Text")]
static void SpawnInfoText()
{
SpawnPrefab("InfoText", false);
}
}
}

Loading…
Cancel
Save