C# 클래스 Lean.LeanLocalization

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: gjrfytn/planet-survival 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Instance LeanLocalization
Languages List
OnLocalizationChanged System.Action
Phrases List
Translations LeanTranslation>.Dictionary

공개 메소드들

메소드 설명
AddLanguage ( string language ) : void
AddPhrase ( string phraseName ) : LeanPhrase
AddTranslation ( string language, string phraseName ) : LeanTranslation
GetInstance ( ) : LeanLocalization
GetTranslation ( string phraseName ) : LeanTranslation
GetTranslationObject ( string phraseName ) : Object
GetTranslationText ( string phraseName ) : string
SetLanguage ( string newLanguage ) : void
UpdateTranslations ( ) : void

보호된 메소드들

메소드 설명
OnDisable ( ) : void
OnEnable ( ) : void
OnValidate ( ) : void

비공개 메소드들

메소드 설명
MergeLocalizations ( LeanLocalization oldLocalization, LeanLocalization newLocalization ) : void

메소드 상세

AddLanguage() 공개 메소드

public AddLanguage ( string language ) : void
language string
리턴 void

AddPhrase() 공개 메소드

public AddPhrase ( string phraseName ) : LeanPhrase
phraseName string
리턴 LeanPhrase

AddTranslation() 공개 메소드

public AddTranslation ( string language, string phraseName ) : LeanTranslation
language string
phraseName string
리턴 LeanTranslation

GetInstance() 공개 정적인 메소드

public static GetInstance ( ) : LeanLocalization
리턴 LeanLocalization

GetTranslation() 공개 정적인 메소드

public static GetTranslation ( string phraseName ) : LeanTranslation
phraseName string
리턴 LeanTranslation

GetTranslationObject() 공개 정적인 메소드

public static GetTranslationObject ( string phraseName ) : Object
phraseName string
리턴 Object

GetTranslationText() 공개 정적인 메소드

public static GetTranslationText ( string phraseName ) : string
phraseName string
리턴 string

OnDisable() 보호된 메소드

protected OnDisable ( ) : void
리턴 void

OnEnable() 보호된 메소드

protected OnEnable ( ) : void
리턴 void

OnValidate() 보호된 메소드

protected OnValidate ( ) : void
리턴 void

SetLanguage() 공개 메소드

public SetLanguage ( string newLanguage ) : void
newLanguage string
리턴 void

UpdateTranslations() 공개 정적인 메소드

public static UpdateTranslations ( ) : void
리턴 void

프로퍼티 상세

Instance 공개적으로 정적으로 프로퍼티

public static LeanLocalization,Lean Instance
리턴 LeanLocalization

Languages 공개적으로 프로퍼티

public List Languages
리턴 List

OnLocalizationChanged 공개적으로 정적으로 프로퍼티

public static System.Action OnLocalizationChanged
리턴 System.Action

Phrases 공개적으로 프로퍼티

public List Phrases
리턴 List

Translations 공개적으로 정적으로 프로퍼티

public static Dictionary Translations
리턴 LeanTranslation>.Dictionary