public static DMSMapConf?LoadMapConfigData(String fileName) { TextAsset textAsset = AssetManager.Load <TextAsset>("CommonAsset/MapConfigData/" + fileName, false); if (textAsset == (UnityEngine.Object)null) { return(null); } MemoryStream memoryStream = new MemoryStream(textAsset.bytes); BinaryReader binaryReader = new BinaryReader(memoryStream); DMSMapConf value = MapConfiguration.DMSParseMapConfFile(binaryReader); binaryReader.Close(); memoryStream.Close(); return(new DMSMapConf?(value)); }