暂存
This commit is contained in:
1 parent
038720e7bd
commit
c97bd50f3f
32 files changed
+9899
-3719
No files matched your search
@@ -68,6 +68,10 @@ namespace Assets.Scripts.UI.Prefab.Login
|
||||
if (c == null) return null;
|
||||
return Resources.Load<Texture>(c.source);
|
||||
}
|
||||
public Texture GetCountryImage(string code)
|
||||
{
|
||||
return GetCountryImage(GetCountryIndexByCode(code));
|
||||
}
|
||||
public int GetCountryIndexByCode(string code)
|
||||
{
|
||||
var c = countryList.FindIndex(x => x.abbreviation.ToLower() == code.ToLower());
|
||||
|
||||
Reference in new issue
Block a user