UnityEngine.GUIContent.Temp C# (CSharp) Метод

Temp() статический приватный Метод

static private Temp ( string t ) : GUIContent
t string
Результат 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

Пример #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