Esempio n. 1
0
 private IVRProject GenerateIVRProjectFromConfig(IVRProjectConfig config)
 {
     IVRProject resproject = new IVRProject();
     resproject.Name = config.Name;
     foreach (var curMenuConfig in config.MenuList)
     {
         resproject.MenuList.Add(GetIVRMenuFromConfig(curMenuConfig));
     }
     return resproject;
 }
Esempio n. 2
0
 private IVRProjectConfig CreateIVRProjectConfig(IVRProject project)
 {
     IVRProjectConfig resProject= new IVRProjectConfig();
     resProject.Name = project.Name;
     foreach (var curMenu in project.MenuList)
     {
         resProject.MenuList.Add(curMenu.GetConfig());
     }
     return resProject;
 }