GetBackgroundInternalFromDeserialization() private method

private GetBackgroundInternalFromDeserialization ( ) : Texture2D
return Texture2D
示例#1
0
        internal static GUIStyleState ProduceGUIStyleStateFromDeserialization(GUIStyle sourceStyle, IntPtr source)
        {
            GUIStyleState guiStyleState = new GUIStyleState(sourceStyle, source);

            guiStyleState.m_Background = guiStyleState.GetBackgroundInternalFromDeserialization();
            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;
 }
示例#3
0
        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);
        }
 internal static GUIStyleState ProduceGUIStyleStateFromDeserialization(GUIStyle sourceStyle, IntPtr source)
 {
   GUIStyleState guiStyleState = new GUIStyleState(sourceStyle, source);
   guiStyleState.m_Background = guiStyleState.GetBackgroundInternalFromDeserialization();
   return guiStyleState;
 }