public bool Open(string fullpath) { Debuger.Log("fullpath = " + fullpath); Byte[] bytes = FileUtils.ReadFile(fullpath); if (bytes != null && bytes.Length > 0) { m_content = PBSerializer.NDeserialize <NetDebugFileData>(bytes); return(ParserFile()); } else { Debuger.LogError("File Is Not Exist, Or Open Wrong!"); return(false); } }
public NetDebugFile() { m_content = new NetDebugFileData(); m_mapAllSampleList = new DictionarySafe <string, List <NetSampleItem> >(); m_listAllSampleName = new List <string>(); }