diff --git a/EzEditor.cs b/EzEditor.cs index 85e8a9a..cf4646b 100644 --- a/EzEditor.cs +++ b/EzEditor.cs @@ -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); } @@ -472,4 +472,4 @@ public static void EzHelpBox(string message, MessageType type, bool wide) } } //namespace EzEditor -#endif // UNITY_EDITOR \ No newline at end of file +#endif // UNITY_EDITOR