Class HierachyGroup
- Namespace
- KSP.Navigation
- Assembly
- Assembly-CSharp.dll
public class HierachyGroup : Decorator<NavElementGroup>
- Inheritance
-
HierachyGroup
- Derived
-
- Inherited Members
-
- Extension Methods
-
Constructors
HierachyGroup(Extend<NavElementGroup>)
public HierachyGroup(Extend<NavElementGroup> extend)
Parameters
extend Extend<NavElementGroup>
Fields
_children
protected List<HierachyGroup> _children
Field Value
- List<HierachyGroup>
Properties
Children
public List<HierachyGroup> Children { get; }
Property Value
- List<HierachyGroup>
Parent
public HierachyGroup Parent { get; }
Property Value
- HierachyGroup
ParentLayout
public IHierachyGroupsLayout ParentLayout { get; set; }
Property Value
- IHierachyGroupsLayout
Root
public HierachyGroup Root { get; }
Property Value
- HierachyGroup
Methods
AddChildGroup(HierachyGroup, bool)
public bool AddChildGroup(HierachyGroup groupToAdd, bool forced = false)
Parameters
groupToAdd HierachyGroup
forced bool
Returns
- bool
Contains(Selectable)
public bool Contains(Selectable item)
Parameters
item Selectable
Returns
- bool
ContainsGroup(NavElementGroup)
public bool ContainsGroup(NavElementGroup group)
Parameters
group NavElementGroup
Returns
- bool
public HierachyGroup FindGroup(Transform key)
Parameters
key Transform
Returns
- HierachyGroup
Initialize()
protected virtual void Initialize()