Skip to main content

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
TypeName
System.Stringkey
Global.Subject<System.String>.SubscriptionCallbackcallback

Remove(string)

Declaration
public void Remove(string key)
Parameters
TypeName
System.Stringkey

Subscribe(string, SubscriptionCallback)

Declaration
public void Subscribe(string key, Subject<string>.SubscriptionCallback callback)
Parameters
TypeName
System.Stringkey
Global.Subject<System.String>.SubscriptionCallbackcallback

Unsubscribe(string, SubscriptionCallback)

Declaration
public void Unsubscribe(string key, Subject<string>.SubscriptionCallback callback)
Parameters
TypeName
System.Stringkey
Global.Subject<System.String>.SubscriptionCallbackcallback