Table of Contents

Class ADynamicNavLayout

Namespace
KSP.Navigation
Assembly
Assembly-CSharp.dll
public abstract class ADynamicNavLayout : KerbalMonoBehaviour, INavigatable, IHierachyGroupsLayout, INavigationLayout, ISyncCursorPosition
Inheritance
ADynamicNavLayout
Implements
Derived
Inherited Members
Extension Methods

Constructors

ADynamicNavLayout()

protected ADynamicNavLayout()

Fields

ActiveOnLoad

public bool ActiveOnLoad

Field Value

bool

DefaultStartElement

public Selectable DefaultStartElement

Field Value

Selectable

IsAccessableForLayoutInParent

public bool IsAccessableForLayoutInParent

Field Value

bool

LoadDelayedFrames

public int LoadDelayedFrames

Field Value

int

LoadType

public LoadType LoadType

Field Value

LoadType

OnQuit

public UnityEvent OnQuit

Field Value

UnityEvent

OnSelected

public UnityEvent OnSelected

Field Value

UnityEvent

ResetSelectionOnUnload

public bool ResetSelectionOnUnload

Field Value

bool

SelectLastElement

public bool SelectLastElement

Field Value

bool

SelectionCursor

public Image SelectionCursor

Field Value

Image

StartSelectionDelayedSeconds

public float StartSelectionDelayedSeconds

Field Value

float

Properties

Camera

public abstract Camera Camera { get; }

Property Value

Camera

CurrentElement

public Selectable CurrentElement { get; set; }

Property Value

Selectable

CurrentElementInfo

public SelectableElementInfo CurrentElementInfo { get; set; }

Property Value

SelectableElementInfo

CurrentGroup

public DynamicGroup CurrentGroup { get; }

Property Value

DynamicGroup

NavParameter

public NavigationParameter NavParameter { get; }

Property Value

NavigationParameter

RootGroup

public DynamicGroup RootGroup { get; }

Property Value

DynamicGroup

Methods

Awake()

protected virtual void Awake()

Load()

public void Load()

OnDestroy()

protected virtual void OnDestroy()

OnDisable()

protected virtual void OnDisable()

OnEnable()

protected virtual void OnEnable()

Scroll(Vector2)

public bool Scroll(Vector2 scrollDelta)

Parameters

scrollDelta Vector2

Returns

bool

SelectElementAt(MoveDirection)

public bool SelectElementAt(MoveDirection direction)

Parameters

direction MoveDirection

Returns

bool

SelectStartElement()

public void SelectStartElement()

Start()

protected virtual void Start()

SyncCursorPosition()

public void SyncCursorPosition()

Unload()

public void Unload()

Update()

protected virtual void Update()