ChrisNZL / Tallowmere2

Changelog, issue tracker, and development knowledge for Tallowmere 2.
https://tallowmere2.com
13 stars 0 forks source link

Android + China: Set app name via scripting #1068

Closed ChrisNZL closed 10 months ago

ChrisNZL commented 2 years ago

Somewhere in the bowels of the Unity project, the Unity Localization package manages the name of the app icon on Android.

Can't rely on setting PlayerSettings.productName.


With the GUI, this is achieved via Window > Asset Management > Localization Tables:

image

TODO:

ChrisNZL commented 1 year ago

Kind of tackled this, but ended up just making the Editor throw warnings if the localized name fields do not match the desired name.

Note to self:

You can call GetEntry and then set it's Value property or If you just want to update the localized value then you can also call AddEntry which will update or add a new entry.

You should set the sharedtable data and the table dirty to ensure the changes are saved.

ChrisNZL commented 10 months ago

Can't be bothered. China ISBN builds are going nowhere with Chinese government not making any progress.