Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions EzEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public static bool EzButton(Texture2D texture) {
return GUILayout.Button(texture, GUILayout.Width(20f), GUILayout.Height(15f));
}

public static bool EzButton(Texture2D texture, GUILayoutOption[] options)
public static bool EzButton(Texture2D texture, params GUILayoutOption[] options)
{
return GUILayout.Button(texture, options);
}
Expand Down Expand Up @@ -472,4 +472,4 @@ public static void EzHelpBox(string message, MessageType type, bool wide)
}

} //namespace EzEditor
#endif // UNITY_EDITOR
#endif // UNITY_EDITOR