Table of Contents

Class Slideshow

Namespace
KSP.UI
Assembly
Assembly-CSharp.dll
public class Slideshow : LoopVideoPlayer
Inheritance
Slideshow
Inherited Members
Extension Methods

Constructors

Slideshow()

public Slideshow()

Fields

_OnDismissMessage

protected Type _OnDismissMessage

Field Value

Type

_backButton

protected ButtonExtended _backButton

Field Value

ButtonExtended

_body

protected TextMeshProUGUI _body

Field Value

TextMeshProUGUI

_childWindows

protected KSP2UIWindow[] _childWindows

Field Value

KSP2UIWindow[]

_closeButton

protected ButtonExtended _closeButton

Field Value

ButtonExtended

_currentSlide

protected SlideData _currentSlide

Field Value

SlideData

_nextButton

protected ButtonExtended _nextButton

Field Value

ButtonExtended

_nextButtonIsFinish

protected string _nextButtonIsFinish

Field Value

string

_nextButtonIsNext

protected string _nextButtonIsNext

Field Value

string

_slideDotCarousel_T

protected Transform _slideDotCarousel_T

Field Value

Transform

_slideDotPrefab

protected GameObject _slideDotPrefab

Field Value

GameObject

_slideDots

protected List<Slideshow_Dot> _slideDots

Field Value

List<Slideshow_Dot>

_slides

protected List<SlideData> _slides

Field Value

List<SlideData>

_title

protected TextMeshProUGUI _title

Field Value

TextMeshProUGUI

_wrapsSlides

protected bool _wrapsSlides

Field Value

bool

buttonsSubscribed

protected bool buttonsSubscribed

Field Value

bool

currentSlideIndex

protected int currentSlideIndex

Field Value

int

finishButtonDelay

protected float finishButtonDelay

Field Value

float

finishButtonWait

protected WaitForSeconds finishButtonWait

Field Value

WaitForSeconds

lastSlideCoroutine

protected Coroutine lastSlideCoroutine

Field Value

Coroutine

lastSlideIndex

protected int lastSlideIndex

Field Value

int

lastSlideReached

protected bool lastSlideReached

Field Value

bool

translationCache

protected string translationCache

Field Value

string

Methods

ClampIndex(int)

protected virtual int ClampIndex(int currentIndex)

Parameters

currentIndex int

Returns

int

ClearSlides()

protected virtual void ClearSlides()

DisplaySlide(int)

public void DisplaySlide(int index)

Parameters

index int

InitializeSlideDots(Slides)

protected virtual void InitializeSlideDots(Slides slides)

Parameters

slides Slides

InstanceNewSlideDot(int)

protected Slideshow_Dot InstanceNewSlideDot(int index)

Parameters

index int

Returns

Slideshow_Dot

LoadSlides(Slides)

public virtual void LoadSlides(Slides slides)

Parameters

slides Slides

LoadSlides(Slides, Type, float)

public virtual void LoadSlides(Slides slides, Type DismissMessage, float finishBtnDelay)

Parameters

slides Slides
DismissMessage Type
finishBtnDelay float

SetSlideText(SlideData)

protected virtual void SetSlideText(SlideData currentSlide)

Parameters

currentSlide SlideData