Browse Source

Fixed CustomGUI class not in Fungus namespace #353

master
chrisgregan 9 years ago
parent
commit
c9a081f4fd
  1. 5
      Assets/Fungus/Flowchart/Editor/CustomGUI.cs
  2. 5
      Assets/Fungus/Flowchart/Editor/EditorExtensions.cs
  3. 5
      Assets/Fungus/Flowchart/Editor/EditorZoomArea.cs
  4. 5
      Assets/Fungus/Flowchart/Editor/GLDraw.cs

5
Assets/Fungus/Flowchart/Editor/CustomGUI.cs

@ -4,6 +4,9 @@ using UnityEditor;
using System; using System;
using System.Reflection; using System.Reflection;
namespace Fungus
{
/** /**
* Utility functions for drawing custom UI in the editor * Utility functions for drawing custom UI in the editor
*/ */
@ -38,3 +41,5 @@ public static class CustomGUI
GUILayout.Box(blackTex,separatorStyle); GUILayout.Box(blackTex,separatorStyle);
} }
} }
}

5
Assets/Fungus/Flowchart/Editor/EditorExtensions.cs

@ -3,6 +3,9 @@ using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace Fungus
{
public static class EditorExtensions public static class EditorExtensions
{ {
/// <summary> /// <summary>
@ -60,3 +63,5 @@ public static class EditorExtensions
return FindDerivedTypesFromAssembly(System.Reflection.Assembly.GetAssembly(baseType), baseType, classOnly); return FindDerivedTypesFromAssembly(System.Reflection.Assembly.GetAssembly(baseType), baseType, classOnly);
} }
} }
}

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

@ -2,6 +2,9 @@
using UnityEngine; using UnityEngine;
namespace Fungus
{
// Helper Rect extension methods // Helper Rect extension methods
public static class RectExtensions public static class RectExtensions
{ {
@ -77,3 +80,5 @@ public class EditorZoomArea
GUI.BeginGroup(new Rect(0.0f, kEditorWindowTabHeight, Screen.width, Screen.height)); GUI.BeginGroup(new Rect(0.0f, kEditorWindowTabHeight, Screen.width, Screen.height));
} }
} }
}

5
Assets/Fungus/Flowchart/Editor/GLDraw.cs

@ -2,6 +2,9 @@ using UnityEngine;
using System.Collections; using System.Collections;
using System; using System;
namespace Fungus
{
public class GLDraw public class GLDraw
{ {
/* /*
@ -286,3 +289,5 @@ public class GLDraw
return rt * rt * rt * s + 3 * rt * rtt * st + 3 * rtt * t * et + t * t * t * e; return rt * rt * rt * s + 3 * rt * rtt * st + 3 * rtt * t * et + t * t * t * e;
} }
} }
}
Loading…
Cancel
Save