UnityEngine.GUIContent.Temp C# (CSharp) Method

Temp() static private method

static private Temp ( string texts ) : UnityEngine.GUIContent[]
texts string
return UnityEngine.GUIContent[]
        internal static GUIContent[] Temp(string[] texts)
        {
            GUIContent[] contentArray = new GUIContent[texts.Length];
            for (int i = 0; i < texts.Length; i++)
            {
                contentArray[i] = new GUIContent(texts[i]);
            }
            return contentArray;
        }

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