Example #1
0
        public void LoadModule()
        {
            IUsesPointerMethods.getPointerLength = GetPointerLength;

            var moduleLoaderCore = ModuleLoaderCore.instance;

            m_IntersectionModule = moduleLoaderCore.GetModule <IntersectionModule>();
            m_MiniWorldModule    = moduleLoaderCore.GetModule <EditorXRMiniWorldModule>();
            m_RayModule          = moduleLoaderCore.GetModule <EditorXRRayModule>();
            m_SceneObjectModule  = moduleLoaderCore.GetModule <SceneObjectModule>();
            m_ViewerModule       = moduleLoaderCore.GetModule <EditorXRViewerModule>();
            m_ToolModule         = moduleLoaderCore.GetModule <EditorXRToolModule>();
        }
Example #2
0
 public void ConnectDependency(EditorXRViewerModule dependency)
 {
     m_ViewerModule = dependency;
 }