internal static GUIStyleState GetGUIStyleState(GUIStyle sourceStyle, IntPtr source)
{
GUIStyleState state = new GUIStyleState(sourceStyle, source);
state.m_Background = state.GetBackgroundInternal();
state.m_ScaledBackgrounds = state.GetScaledBackgroundsInternalFromDeserialization();
return state;
}