C# 클래스 Polyglot.Localization

상속: UnityEngine.ScriptableObject
파일 보기 프로젝트 열기: Skjalgsm/PolyglotUnity

Private Properties

프로퍼티 타입 설명
GetLanguageDirection LanguageDirection
IsLanguageSupported bool

공개 메소드들

메소드 설명
AddOnLocalizeEvent ( ILocalize localize ) : void

Add a Localization listener to catch the event that is invoked when the selected language is changed.

Get ( string key ) : string

Retreives the correct language string by key.

GetFormat ( string key ) : string

InvokeOnLocalize ( ) : void
KeyExist ( string key ) : bool
RemoveOnLocalizeEvent ( ILocalize localize ) : void

Removes a Localization listener.

SelectLanguage ( int selected ) : void

Select a language, used by dropdowns and the like.

비공개 메소드들

메소드 설명
GetLanguageDirection ( Language language ) : LanguageDirection
IsLanguageSupported ( Language language ) : bool

메소드 상세

AddOnLocalizeEvent() 공개 메소드

Add a Localization listener to catch the event that is invoked when the selected language is changed.
public AddOnLocalizeEvent ( ILocalize localize ) : void
localize ILocalize
리턴 void

Get() 공개 정적인 메소드

Retreives the correct language string by key.
public static Get ( string key ) : string
key string The key string
리턴 string

GetFormat() 공개 정적인 메소드

public static GetFormat ( string key ) : string
key string
리턴 string

InvokeOnLocalize() 공개 메소드

public InvokeOnLocalize ( ) : void
리턴 void

KeyExist() 공개 정적인 메소드

public static KeyExist ( string key ) : bool
key string
리턴 bool

RemoveOnLocalizeEvent() 공개 메소드

Removes a Localization listener.
public RemoveOnLocalizeEvent ( ILocalize localize ) : void
localize ILocalize
리턴 void

SelectLanguage() 공개 메소드

Select a language, used by dropdowns and the like.
public SelectLanguage ( int selected ) : void
selected int
리턴 void