Merge branch 'dev_language' into dev_release
# Conflicts: # Assets/Resources/UI/Prefab/Panel/Mobile/MapListPanel.prefab # Assets/Resources/UI/Prefab/Panel/Mobile/RaceListPanel.prefab
This commit is contained in:
commit
134dc76ec5
94 files changed
+10234
-2610
No files matched your search
@@ -128,6 +128,7 @@ public class EarthController : PFUIPanel
|
||||
map.OnCountryEnter += (int countryIndex, int regionIndex) =>
|
||||
{
|
||||
map.autoRotationSpeed = 0f;
|
||||
|
||||
var country = map.countries[countryIndex];
|
||||
if (country.name.ToLower().Contains("taiwan"))
|
||||
{
|
||||
|
||||
@@ -175,7 +175,7 @@ public class EditUserController : PFUIPanel, INativeOnMobileImageSelect
|
||||
mSexDropdown.ClearOptions();
|
||||
mSexDropdown.AddOptions(new List<string>
|
||||
{
|
||||
"Male","Female"
|
||||
App.GetLocalString("Male"),App.GetLocalString("Female")
|
||||
});
|
||||
mUnitDropdown.ClearOptions();
|
||||
mUnitDropdown.AddOptions(UIManager.Instance.loginRegOptions.units);
|
||||
|
||||
@@ -226,7 +226,9 @@ public class MapListController : PFUIPanel
|
||||
drop.value = 0;
|
||||
drop.onValueChanged.AddListener((int index)=>
|
||||
{
|
||||
sort = drop.options[index].text;
|
||||
var text = drop.options[index].text;
|
||||
|
||||
sort = MapFilterOptions.sortsDict[text];
|
||||
if (sort == "Trend")
|
||||
{
|
||||
sort = "Hot";
|
||||
|
||||
Reference in new issue
Block a user