示例#1
0
        public GameEditor(
            IContextRegistry contextRegistry,
            IDocumentRegistry documentRegistry,
            IControlHostService controlHostService,
            ICommandService commandService,
            IDocumentService documentService,
            IPaletteService paletteService,
            ISettingsService settingsService,
            IResourceService resourceService,
            LevelEditorCore.ResourceLister resourceLister,
            BookmarkLister bookmarkLister
            )
        {
            m_contextRegistry  = contextRegistry;
            m_documentRegistry = documentRegistry;
            m_paletteService   = paletteService;
            m_settingsService  = settingsService;
            m_documentService  = documentService;
            m_resourceService  = resourceService;
            m_resourceLister   = resourceLister;
            m_bookmarkLister   = bookmarkLister;

            //to-do wire it to to command service
            InputScheme.ActiveControlScheme = new MayaControlScheme();
            ResolveOnLoad = true;
        }
示例#2
0
 public GameEditor(
     IContextRegistry contextRegistry,
     IDocumentRegistry documentRegistry,            
     IControlHostService controlHostService,
     ICommandService commandService,
     IDocumentService documentService,
     IPaletteService paletteService,
     ISettingsService settingsService,            
     IResourceService resourceService,
     LevelEditorCore.ResourceLister resourceLister,            
     BookmarkLister bookmarkLister
     )
 {
     m_contextRegistry = contextRegistry;
     m_documentRegistry = documentRegistry;
     m_paletteService = paletteService;
     m_settingsService = settingsService;            
     m_documentService = documentService;            
     m_resourceService = resourceService;
     m_resourceLister = resourceLister;            
     m_bookmarkLister = bookmarkLister;
     
     //to-do wire it to to command service
     InputScheme.ActiveControlScheme = new MayaControlScheme();
     ResolveOnLoad = true;
 }