Browse Source

Fixed GUIButton using default button background.

master
chrisgregan 11 years ago
parent
commit
77ee10c966
  1. 2
      Assets/Fungus/Scripts/GUIButton.cs

2
Assets/Fungus/Scripts/GUIButton.cs

@ -86,7 +86,7 @@ namespace Fungus
// Draw the texture
Rect textureRect = new Rect(x1, y1, x2 - x1, y2 - y1);
if (GUI.Button(textureRect, texture))
if (GUI.Button(textureRect, texture, new GUIStyle()))
{
switch (clickAction)
{

Loading…
Cancel
Save