private GetTextures ( string baseName, string postFix, int startIndex, int count ) : UnityEngine.GUIContent[] | ||
baseName | string | |
postFix | string | |
startIndex | int | |
count | int | |
Результат | UnityEngine.GUIContent[] |
private GUIContent[] GetTextures(string baseName, string postFix, int startIndex, int count)
{
GUIContent[] contentArray = new GUIContent[count];
for (int i = 0; i < count; i++)
{
contentArray[i] = EditorGUIUtility.IconContent(baseName + (startIndex + i) + postFix);
}
return contentArray;
}