Class LocalizedView
Declaration
public class LocalizedView : LocalizedViewBase
Inheritance: System.Object
-> MatchinghamGames.Localization.LocalizedViewBase
Derived:
MatchinghamGames.Localization.LocalizedViewWithImage
Properties
Localizer
Declaration
protected ILocalizeHelper Localizer { get; }
Fields
subjects
Declaration
protected Dictionary<string, Subject<string>> subjects
Methods
Initialize()
Declaration
protected override void Initialize()
OnLanguageChange()
Declaration
public override void OnLanguageChange()
Set(string, SubscriptionCallback)
Declaration
public void Set(string key, Subject<string>.SubscriptionCallback callback = null)
Parameters
Type | Name |
---|---|
System.String | key |
Global.Subject<System.String>.SubscriptionCallback | callback |
Remove(string)
Declaration
public void Remove(string key)
Parameters
Type | Name |
---|---|
System.String | key |
Subscribe(string, SubscriptionCallback)
Declaration
public void Subscribe(string key, Subject<string>.SubscriptionCallback callback)
Parameters
Type | Name |
---|---|
System.String | key |
Global.Subject<System.String>.SubscriptionCallback | callback |
Unsubscribe(string, SubscriptionCallback)
Declaration
public void Unsubscribe(string key, Subject<string>.SubscriptionCallback callback)
Parameters
Type | Name |
---|---|
System.String | key |
Global.Subject<System.String>.SubscriptionCallback | callback |