C# Class CGameText, astrochimps

Class made to hold all text that will be displayed in the game
Inheritance: MonoBehaviour
Show file Open project: arcoelho01/astrochimps Class Usage Examples

Public Properties

Property Type Description
Script CGameText,
textLanguage eTextLanguages

Public Methods

Method Description
GetText ( eTextMessages eString ) : string

Search and returns a string in the selected language

Private Methods

Method Description
Awake ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

GetText() public method

Search and returns a string in the selected language
public GetText ( eTextMessages eString ) : string
eString eTextMessages A eTextMessages enum with the type of message to be searched
return string

Property Details

Script public static property

public static CGameText, Script
return CGameText,

textLanguage public property

public eTextLanguages textLanguage
return eTextLanguages