GetBackgroundInternal() private method

private GetBackgroundInternal ( ) : Texture2D
return Texture2D
コード例 #1
0
        internal static GUIStyleState GetGUIStyleState(GUIStyle sourceStyle, IntPtr source)
        {
            GUIStyleState guiStyleState = new GUIStyleState(sourceStyle, source);

            guiStyleState.m_Background = guiStyleState.GetBackgroundInternal();
            return(guiStyleState);
        }
コード例 #2
0
 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;
 }
コード例 #3
0
        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);
        }
コード例 #4
0
 internal static GUIStyleState GetGUIStyleState(GUIStyle sourceStyle, IntPtr source)
 {
   GUIStyleState guiStyleState = new GUIStyleState(sourceStyle, source);
   guiStyleState.m_Background = guiStyleState.GetBackgroundInternal();
   return guiStyleState;
 }