public static void Parse(byte[] fileData) { m_DataCache.Clear(); m_DataList.Clear(); DataStreamReader dataR = new DataStreamReader(fileData); int rowCount = dataR.GetRowCount(); int[] fieldIndex = dataR.GetFieldIndex(TDGuideStep.GetFieldHeadIndex()); #if (UNITY_STANDALONE_WIN) || UNITY_EDITOR || UNITY_STANDALONE_OSX dataR.CheckFieldMatch(TDGuideStep.GetFieldHeadIndex(), "GuideStepTable"); #endif for (int i = 0; i < rowCount; ++i) { TDGuideStep memberInstance = new TDGuideStep(); memberInstance.ReadRow(dataR, fieldIndex); OnAddRow(memberInstance); memberInstance.Reset(); CompleteRowAdd(memberInstance); } Log.I(string.Format("Parse Success TDGuideStep")); }