UnityEngine.GUIStyleState.GetGUIStyleState C# (CSharp) Method

GetGUIStyleState() static private method

static private GetGUIStyleState ( GUIStyle sourceStyle, IntPtr source ) : GUIStyleState
sourceStyle GUIStyle
source System.IntPtr
return GUIStyleState
        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;
        }