Chains + Smaller tile numbers + Fix localization on certain elements when changing back and forth if those elements are disabled
This commit is contained in:
parent
1e5c546ef6
commit
59744c3eb7
8 changed files with 549 additions and 5 deletions
|
@ -13,7 +13,12 @@ public class LocalizationButtonInjector : MonoBehaviour {
|
|||
UpdateText();
|
||||
}
|
||||
|
||||
public void UpdateText() {
|
||||
// Texel - Hopefully this allows text to update better when stuff is renabled?
|
||||
private void OnEnable() {
|
||||
Start();
|
||||
}
|
||||
|
||||
public void UpdateText() {
|
||||
text.text = Localization.GetString(key).Replace("\\n", "\n");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue