Browse Source

Removed hide flags on line drawing material and shader #119

This was causing WebPlayer builds to fail.
master
chrisgregan 10 years ago
parent
commit
732fb8b8c5
  1. 2
      Assets/Fungus/Flowchart/Editor/GLDraw.cs

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

@ -106,8 +106,6 @@ public class GLDraw
return;
lineMaterial = Resources.Load("GLLineDraw", typeof(Material)) as Material;
lineMaterial.hideFlags = HideFlags.HideAndDontSave;
lineMaterial.shader.hideFlags = HideFlags.HideAndDontSave;
}
public static void DrawLine(Vector2 start, Vector2 end, Color color, float width)

Loading…
Cancel
Save