Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
TutorialScience Class Reference
Inheritance diagram for TutorialScience:
TutorialScenario ScenarioModule IConfigNode

Public Member Functions

override void OnLoad (ConfigNode node)
 
override void OnSave (ConfigNode node)
 
- Public Member Functions inherited from ScenarioModule
void Load (ConfigNode node)
 
virtual void OnAwake ()
 
void Save (ConfigNode node)
 

Public Attributes

bool complete
 
bool enteredRDComplex = false
 
KerbalInstructor otherWernher
 
string stateName = "welcome"
 
- Public Attributes inherited from TutorialScenario
bool ExclusiveTutorial = true
 
string guiSkinName = "KSP window 1"
 
KerbalInstructor instructor
 
int instructorPortraitSize = 128
 
string instructorPrefabName = "Instructor_Wernher"
 
RenderTexture instructorTexture
 
GameObject mainlight
 
int textureBorderRadius = 124
 
string tutorialArrowPrefabName = "tutorialArrows"
 
string tutorialControlColorString = "#BADA55"
 
string tutorialHighlightColorString = "orange"
 
- Public Attributes inherited from ScenarioModule
ScenarioRunner runner
 
ProtoScenarioModule snapshot
 
List< GameScenestargetScenes
 

Protected Member Functions

void EnterRD ()
 
override void OnAssetSetup ()
 This is called before the tutorial assets are set up. Use this to change the asset settings on subclasses More...
 
override void OnOnDestroy ()
 
override void OnTutorialSetup ()
 
- Protected Member Functions inherited from TutorialScenario
void CloseTutorialWindow (bool destroySelf=true)
 
DialogGUIBase[] CreateDialog (string pageId, string textLoc, DialogGUIButton button)
 
DialogGUIBase[] CreateDialog (string pageId, string textLoc, DialogGUIButton[] button)
 
DialogGUIBase[] CreateDialog (string pageId, string textLoc)
 
MultiOptionDialog CreateDoneDialog (string pageId, string textLoc)
 
MultiOptionDialog CreateMultiButtonDialog (string pageId, string textLoc, BasicTutorial.TutorialButtonType buttons)
 
MultiOptionDialog CreateNextDialog (string pageId, string textLoc)
 
MultiOptionDialog CreateNoButtonDialog (string pageId, string textLoc)
 
MultiOptionDialog CreateOkDialog (string pageId, string textLoc)
 
TutorialPage CreateTutorialPage (string pageId, string titleLoc, KFSMStateChange onEnterCallback)
 
string GetCurrentStateName ()
 
virtual void OnCloseButtonClick ()
 
virtual void OnContinueButtonClick ()
 
virtual void OnDoneButtonClick ()
 
virtual void OnNextButtonClick ()
 
virtual void OnOkButtonClick ()
 
void SetDialogRect (Rect r)
 

Additional Inherited Members

- Static Protected Member Functions inherited from TutorialScenario
static ConfigNode GetTutorialNode (string name)
 
- Protected Attributes inherited from TutorialScenario
Rect avatarRect
 
TutorialPage currentPage
 
PopupDialog dialogDisplay
 
Rect dRect
 
Rect rect = new Rect(100f, 80f, 400f, 180f)
 
UISkinDef skin
 
TutorialFSM Tutorial
 
bool TutorialDialogEnabled = true
 If this is an "exclusive" tutorial, or if it is an advisory popup in a normal game. More...
 
- Properties inherited from ScenarioModule
int ClassID [get]
 
string ClassName [get]
 
BaseEventList Events [get]
 
BaseFieldList Fields [get]
 

Member Function Documentation

void TutorialScience.EnterRD ( )
inlineprotected
override void TutorialScience.OnAssetSetup ( )
inlineprotectedvirtual

This is called before the tutorial assets are set up. Use this to change the asset settings on subclasses

Reimplemented from TutorialScenario.

override void TutorialScience.OnLoad ( ConfigNode  node)
inlinevirtual

Reimplemented from ScenarioModule.

override void TutorialScience.OnOnDestroy ( )
inlineprotectedvirtual

Reimplemented from TutorialScenario.

override void TutorialScience.OnSave ( ConfigNode  node)
inlinevirtual

Reimplemented from ScenarioModule.

override void TutorialScience.OnTutorialSetup ( )
inlineprotectedvirtual

< NK Note: the head doesn't seem to exist when this is run, but it does exist during dialog.OnUpdate below, so this still gets run.

Reimplemented from TutorialScenario.

Member Data Documentation

bool TutorialScience.complete
bool TutorialScience.enteredRDComplex = false
KerbalInstructor TutorialScience.otherWernher
string TutorialScience.stateName = "welcome"

The documentation for this class was generated from the following file: