Class Scrollable
- Namespace
- KSP.Navigation
- Assembly
- Assembly-CSharp.dll
public class Scrollable : Decorator<NavElementGroup>
- Inheritance
-
Scrollable
- Inherited Members
-
- Extension Methods
-
Constructors
public Scrollable(Extend<NavElementGroup> extend)
Parameters
extend Extend<NavElementGroup>
Fields
public float AutoScrollDuration
Field Value
- float
Properties
public ScrollRect ScrollRect { get; }
Property Value
- ScrollRect
public RectTransform ScrollRectTransform { get; }
Property Value
- RectTransform
Methods
public bool Scroll(Vector2 deltaScroll)
Parameters
deltaScroll Vector2
Returns
- bool
public bool ScrollTo(Selectable element)
Parameters
element Selectable
Returns
- bool
public void UpdateBoundary()