UnityEngine.GUIContent.Temp C# (CSharp) Method

Temp() static private method

static private Temp ( Texture i ) : GUIContent
i Texture
return GUIContent
        internal static GUIContent Temp(Texture i)
        {
            s_Image.m_Image = i;
            s_Image.m_Tooltip = string.Empty;
            return s_Image;
        }

Same methods

GUIContent::Temp ( Texture i, string tooltip ) : GUIContent
GUIContent::Temp ( string t ) : GUIContent
GUIContent::Temp ( string t, Texture i ) : GUIContent
GUIContent::Temp ( string t, string tooltip ) : GUIContent
GUIContent::Temp ( Texture images ) : UnityEngine.GUIContent[]
GUIContent::Temp ( string texts ) : UnityEngine.GUIContent[]

Usage Example

Example #1
0
 public static void BeginGroup(Rect position, string text, GUIStyle style)
 {
     BeginGroup(position, GUIContent.Temp(text), style);
 }
All Usage Examples Of UnityEngine.GUIContent::Temp