Class QuickNavigationLayout
- Namespace
- KSP.Navigation
- Assembly
- Assembly-CSharp.dll
public class QuickNavigationLayout : KerbalMonoBehaviour, INavigationLayout, INavigatable, IQuickNavRegister, INavElementRegister
- Inheritance
-
QuickNavigationLayout
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
QuickNavigationLayout()
public QuickNavigationLayout()
Fields
DefaultTargetNavLayout
public ADynamicNavLayout DefaultTargetNavLayout
Field Value
- ADynamicNavLayout
DownListIterateDirection
public MoveDirection DownListIterateDirection
Field Value
- MoveDirection
LeftListIterateDirection
public MoveDirection LeftListIterateDirection
Field Value
- MoveDirection
RightListIterateDirection
public MoveDirection RightListIterateDirection
Field Value
- MoveDirection
UpListIterateDirection
public MoveDirection UpListIterateDirection
Field Value
- MoveDirection
Properties
Active
public bool Active { get; set; }
Property Value
- bool
CurrentAccess
public QuickNavigationLayout.QuickAccess CurrentAccess { get; set; }
Property Value
- QuickNavigationLayout.QuickAccess
CurrentElement
public Selectable CurrentElement { get; set; }
Property Value
- Selectable
CurrentElementInfo
public SelectableElementInfo CurrentElementInfo { get; set; }
Property Value
- SelectableElementInfo
LayoutTag
public string LayoutTag { get; set; }
Property Value
- string
Methods
public bool AddAccess(MoveDirection direction, Selectable explicitSelectable = null, RectTransform selectionRect = null, SelectPoint startPoint = SelectPoint.Up, ADynamicNavLayout layout = null)
Parameters
direction MoveDirection
explicitSelectable Selectable
selectionRect RectTransform
startPoint SelectPoint
layout ADynamicNavLayout
Returns
- bool
ApplyQuickAccess()
public void ApplyQuickAccess()
Load()
public bool RemoveAccess(MoveDirection direction, RectTransform selectionRect)
Parameters
direction MoveDirection
selectionRect RectTransform
Returns
- bool
RemoveAccess(MoveDirection, Selectable)
public bool RemoveAccess(MoveDirection direction, Selectable explicitSelectable)
Parameters
direction MoveDirection
explicitSelectable Selectable
Returns
- bool
Reset()
SelectElementAt(MoveDirection)
public bool SelectElementAt(MoveDirection direction)
Parameters
direction MoveDirection
Returns
- bool
Unload()