UnityEngine.GUIContent.Temp C# (CSharp) Method

Temp() static private method

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

Same methods

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

Beispiel #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