public int ReadStrings(byte[] data, int start, FieldInfo f, object target, Dictionary <string, byte[]> other) { Debug.Log(fileType + " " + version); Debug.Log("TLK file reading " + stringCount + " strings from offset " + stringEntriesOffset); strings = new Dictionary <int, StringData>(); int pos = start; for (int i = 0; i < stringCount; i++) { StringData stringData = new StringData(); pos = stringData.Load(data, pos, (int)stringEntriesOffset); strings[i] = stringData; // if (i > 1000) // { // break; // } } return(pos); }