Chains + Smaller tile numbers + Fix localization on certain elements when changing back and forth if those elements are disabled

This commit is contained in:
Texel 2020-08-22 12:28:49 -04:00
parent 1e5c546ef6
commit 59744c3eb7
8 changed files with 549 additions and 5 deletions

View file

@ -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");
}
}