private void SetFontNames(string fontNames)
{
string[] array;
if (!this.m_GotFontNamesFromImporter)
{
array = new string[0];
}
else
{
array = fontNames.Split(new char[]
{
','
});
for (int i = 0; i < array.Length; i++)
{
array[i] = array[i].Trim();
}
}
this.m_FontNamesArraySize.intValue = array.Length;
SerializedProperty serializedProperty = this.m_FontNamesArraySize.Copy();
for (int j = 0; j < array.Length; j++)
{
serializedProperty.Next(false);
serializedProperty.stringValue = array[j];
}
TrueTypeFontImporter trueTypeFontImporter = (TrueTypeFontImporter)base.target;
this.m_FallbackFontReferences = trueTypeFontImporter.LookupFallbackFontReferences(array);
}