ORK Framework  2.25.1
API Documentation
ORKFramework.GameOverChoice Class Reference
Inheritance diagram for ORKFramework.GameOverChoice:
ORKFramework.BaseData ORKFramework.IChoice ORKFramework.Events.IEventStarter ORKFramework.IBaseData ORKFramework.IChoiceSimple

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
bool Tick (GUIBox origin)
 
bool UnfocusedTick (GUIBox origin)
 
bool NotControlableTick (GUIBox origin)
 
bool ShowOKButton (GUIBox origin)
 
bool ShowCancelButton (GUIBox origin)
 
bool IsOKButtonActive (GUIBox origin)
 
bool IsCancelButtonActive (GUIBox origin)
 
void LoadScene ()
 
void EventEnded ()
 
void DontDestroy ()
 
void OnSceneLoaded ()
 
void Show ()
 
void FocusGained (GUIBox origin)
 
void FocusLost (GUIBox origin)
 
void OutOfBoxClick (GUIBox origin)
 
void Closed (GUIBox origin)
 
void CreateChoices ()
 
void ChoiceSelected (int index, GUIBox origin)
 
void SelectionChanged (int index, GUIBox origin)
 
void Canceled (GUIBox origin)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

string scene = ""
 
LoadSceneMode loadSceneMode = LoadSceneMode.Single
 
bool loadAsync = false
 
bool fieldAuto = false
 
bool autoGroupDead = true
 
bool useFadeOut = true
 
FadeColorSettings fadeOut = new FadeColorSettings(0.5f, 0, 1)
 
bool useFadeIn = true
 
FadeColorSettings fadeIn = new FadeColorSettings(0.5f, 1, 0)
 
float waitTime = 1
 
bool showChoice = false
 
int guiBoxID = 0
 
bool useTitle = false
 
string [] title
 
string [] message = ArrayHelper.CreateArray(ORK.Languages.Count, "")
 
bool showRetry = true
 
VariableSetter variableSetter = new VariableSetter()
 
LanguageContentButton retryButton = new LanguageContentButton("Retry")
 
bool showLoad = true
 
LanguageContentButton loadButton = new LanguageContentButton("Load")
 
bool showExit = true
 
LanguageContentButton exitButton = new LanguageContentButton("Exit")
 

Properties

GameObject GameObject [get]
 
- Properties inherited from ORKFramework.Events.IEventStarter
GameObject GameObject [get]
 

Member Function Documentation

◆ SetData()

override void ORKFramework.GameOverChoice.SetData ( DataObject  data)
virtual

Sets the variables of the class using a ORKFramework.DataObject.

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.