Exemplo n.º 1
0
 private void SetTargetingModeHierarchy()
 {
     if (inspectorTargetingMode != InspectorTargetingMode.Hierarchy)
     {
         inspectorTargetingMode = InspectorTargetingMode.Hierarchy;
         SelectionManager       = HierarchySelectionManager.Instance();
         titleContent           = GetTitleContent(InspectorTargetingMode.Hierarchy, true);
         minimizer.Setup(this, SelectionManager, minimizer.AutoMinimize);
         RebuildDrawerIfTargetsChanged();
     }
 }
Exemplo 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());
            }
        }