UnityEngine.GUIContent.Temp C# (CSharp) Method

Temp() static private method

static private Temp ( string t, string tooltip ) : GUIContent
t string
tooltip string
return GUIContent
        internal static GUIContent Temp(string t, string tooltip)
        {
            s_Text.m_Text = t;
            s_Text.m_Tooltip = tooltip;
            return s_Text;
        }

Same methods

GUIContent::Temp ( Texture i ) : GUIContent
GUIContent::Temp ( Texture i, string tooltip ) : GUIContent
GUIContent::Temp ( string t ) : GUIContent
GUIContent::Temp ( string t, Texture i ) : 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