SolidUtilities icon indicating copy to clipboard operation
SolidUtilities copied to clipboard

"ToolbarSearchCancelButton" fixed in newer version of Unity.

Open perrauo opened this issue 2 years ago • 1 comments

This is ok now: private static readonly GUIStyle _closeButtonStyle = GUI.skin.FindStyle("ToolbarSearchCancelButton");

https://github.com/SolidAlloy/SolidUtilities/blob/71ceb90f6a772d5a74a9357d5f1a801e6b0bea8f/Runtime/Helpers/GUIHelper.cs#L9

Otherwise results in error.

perrauo avatar Jun 08 '23 04:06 perrauo

Likewise public static GUIStyle SearchToolbarStyle => _searchToolbarStyle ?? (_searchToolbarStyle = new GUIStyle(GUI.skin.FindStyle("ToolbarSearchTextField")));

perrauo avatar Jun 08 '23 04:06 perrauo