C# Class MainMenuData, RPGQuest

Mostra file Open project: hughrogers/RPGQuest Class Usage Examples

Public Properties

Property Type Description
aboutIcon UnityEngine.Texture2D
aboutIconName string
aboutInfo string[]
aboutPosition int
aboutText string[]
autoCall bool
cancelText string[]
difficultyQuestion string[]
exitIcon UnityEngine.Texture2D
exitIconName string
exitText string[]
fadeIn bool
fadeInInterpolate EaseType
fadeInTime float
fadeOut bool
fadeOutInterpolate EaseType
fadeOutTime float
iconPath string
languageIcon UnityEngine.Texture2D
languageIconName string
languageText string[]
loadGameText string[]
loadIcon UnityEngine.Texture2D
loadIconName string
mainMenuScene string
menuPosition int
newGameScene string
newGameText string[]
newIcon UnityEngine.Texture2D
newIconName string
questionNo string[]
questionPosition int
questionText string[]
questionYes string[]
showAbout bool
showDifficulty bool
showExit bool
showLanguage bool
showLoad bool
skinPath string
waitTime float

Public Methods

Method Description
AddLanguage ( int lang ) : void
GetAboutInfo ( ) : string
GetCancelText ( ) : string
GetDifficultyQuestion ( ) : string
GetMainMenuChoice ( ) : ChoiceContent[],
GetReturnQuestion ( ) : string
GetYesNoChoice ( ) : ChoiceContent[],
IsChoiceAbout ( int selection ) : bool
IsChoiceExit ( int selection ) : bool
IsChoiceLanguage ( int selection ) : bool
IsChoiceLoad ( int selection ) : bool
LoadData ( ) : void
LoadResources ( ) : void
MainMenuData ( ) : System.Collections
RemoveLanguage ( int lang ) : void
SaveData ( ) : void

Private Methods

Method Description
GetChoices ( ) : ArrayList

Method Details

AddLanguage() public method

public AddLanguage ( int lang ) : void
lang int
return void

GetAboutInfo() public method

public GetAboutInfo ( ) : string
return string

GetCancelText() public method

public GetCancelText ( ) : string
return string

GetDifficultyQuestion() public method

public GetDifficultyQuestion ( ) : string
return string

GetMainMenuChoice() public method

public GetMainMenuChoice ( ) : ChoiceContent[],
return ChoiceContent[],

GetReturnQuestion() public method

public GetReturnQuestion ( ) : string
return string

GetYesNoChoice() public method

public GetYesNoChoice ( ) : ChoiceContent[],
return ChoiceContent[],

IsChoiceAbout() public method

public IsChoiceAbout ( int selection ) : bool
selection int
return bool

IsChoiceExit() public method

public IsChoiceExit ( int selection ) : bool
selection int
return bool

IsChoiceLanguage() public method

public IsChoiceLanguage ( int selection ) : bool
selection int
return bool

IsChoiceLoad() public method

public IsChoiceLoad ( int selection ) : bool
selection int
return bool

LoadData() public method

public LoadData ( ) : void
return void

LoadResources() public method

public LoadResources ( ) : void
return void

MainMenuData() public method

public MainMenuData ( ) : System.Collections
return System.Collections

RemoveLanguage() public method

public RemoveLanguage ( int lang ) : void
lang int
return void

SaveData() public method

public SaveData ( ) : void
return void

Property Details

aboutIcon public_oe property

public Texture2D,UnityEngine aboutIcon
return UnityEngine.Texture2D

aboutIconName public_oe property

public string aboutIconName
return string

aboutInfo public_oe property

public string[] aboutInfo
return string[]

aboutPosition public_oe property

public int aboutPosition
return int

aboutText public_oe property

public string[] aboutText
return string[]

autoCall public_oe property

public bool autoCall
return bool

cancelText public_oe property

public string[] cancelText
return string[]

difficultyQuestion public_oe property

public string[] difficultyQuestion
return string[]

exitIcon public_oe property

public Texture2D,UnityEngine exitIcon
return UnityEngine.Texture2D

exitIconName public_oe property

public string exitIconName
return string

exitText public_oe property

public string[] exitText
return string[]

fadeIn public_oe property

public bool fadeIn
return bool

fadeInInterpolate public_oe property

public EaseType fadeInInterpolate
return EaseType

fadeInTime public_oe property

public float fadeInTime
return float

fadeOut public_oe property

public bool fadeOut
return bool

fadeOutInterpolate public_oe property

public EaseType fadeOutInterpolate
return EaseType

fadeOutTime public_oe property

public float fadeOutTime
return float

iconPath public_oe property

public string iconPath
return string

languageIcon public_oe property

public Texture2D,UnityEngine languageIcon
return UnityEngine.Texture2D

languageIconName public_oe property

public string languageIconName
return string

languageText public_oe property

public string[] languageText
return string[]

loadGameText public_oe property

public string[] loadGameText
return string[]

loadIcon public_oe property

public Texture2D,UnityEngine loadIcon
return UnityEngine.Texture2D

loadIconName public_oe property

public string loadIconName
return string

mainMenuScene public_oe property

public string mainMenuScene
return string

menuPosition public_oe property

public int menuPosition
return int

newGameScene public_oe property

public string newGameScene
return string

newGameText public_oe property

public string[] newGameText
return string[]

newIcon public_oe property

public Texture2D,UnityEngine newIcon
return UnityEngine.Texture2D

newIconName public_oe property

public string newIconName
return string

questionNo public_oe property

public string[] questionNo
return string[]

questionPosition public_oe property

public int questionPosition
return int

questionText public_oe property

public string[] questionText
return string[]

questionYes public_oe property

public string[] questionYes
return string[]

showAbout public_oe property

public bool showAbout
return bool

showDifficulty public_oe property

public bool showDifficulty
return bool

showExit public_oe property

public bool showExit
return bool

showLanguage public_oe property

public bool showLanguage
return bool

showLoad public_oe property

public bool showLoad
return bool

skinPath public_oe property

public string skinPath
return string

waitTime public_oe property

public float waitTime
return float