Ejemplo n.º 1
0
 private void SetTargetingModeProject()
 {
     if (inspectorTargetingMode != InspectorTargetingMode.Project)
     {
         inspectorTargetingMode = InspectorTargetingMode.Project;
         SelectionManager       = ProjectSelectionManager.Instance();
         minimizer.Setup(this, SelectionManager, minimizer.AutoMinimize);
         titleContent = GetTitleContent(InspectorTargetingMode.Project, true);
         RebuildDrawerIfTargetsChanged();
     }
 }
Ejemplo n.º 2
0
        protected override ISelectionManager GetDefaultSelectionManager()
        {
            switch (InspectorTargetingMode)
            {
            case InspectorTargetingMode.Hierarchy:
                return(HierarchySelectionManager.Instance());

            case InspectorTargetingMode.Project:
                return(ProjectSelectionManager.Instance());

            default:
                return(EditorSelectionManager.Instance());
            }
        }