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; }
internal static GUIStyleState GetGUIStyleState(GUIStyle sourceStyle, IntPtr source) { GUIStyleState gUIStyleState = new GUIStyleState(sourceStyle, source); gUIStyleState.m_Background = gUIStyleState.GetBackgroundInternal(); gUIStyleState.m_ScaledBackgrounds = gUIStyleState.GetScaledBackgroundsInternalFromDeserialization(); return(gUIStyleState); }
internal static GUIStyleState ProduceGUIStyleStateFromDeserialization(GUIStyle sourceStyle, IntPtr source) { GUIStyleState state = new GUIStyleState(sourceStyle, source); state.m_Background = state.GetBackgroundInternalFromDeserialization(); state.m_ScaledBackgrounds = state.GetScaledBackgroundsInternalFromDeserialization(); return(state); }