Adventure Creator  1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
AC.Language Class Reference

Public Member Functions

 Language (string _name, bool _isRightToLeft=false, string _audioAssetBundle="", string _lipsyncAssetBundle="")
 
 Language (Language language)
 
void ShowGUI (int i)
 

Public Attributes

string name
 
bool isRightToLeft
 
string audioAssetBundle
 
string lipsyncAssetBundle
 
int fallbackLanguageIndex = 0
 
bool isDisabled = false
 

Detailed Description

Stores data about a language defined in the Speech Manager.

Member Data Documentation

◆ audioAssetBundle

string AC.Language.audioAssetBundle

An AssetBundle filename (in a StreamingAssets folder) that stores the language's speech audio files

◆ fallbackLanguageIndex

int AC.Language.fallbackLanguageIndex = 0

The index of the language to display if this language's text is empty

◆ isDisabled

bool AC.Language.isDisabled = false

If True, the language is not available at runtime

◆ isRightToLeft

bool AC.Language.isRightToLeft

Whether or not the language reads right-to-left (Arabic / Hebrew-style)

◆ lipsyncAssetBundle

string AC.Language.lipsyncAssetBundle

An AssetBundle filename (in a StreamingAssets folder) that stores the language's speech lipsync files

◆ name

string AC.Language.name

The language's name