feat: 서버 오류로 인한 랭킹 목록 조회 실패 시 처리 로직 추가
This commit is contained in:
1 parent
9cc959010f
commit
df61604949
6 files changed
+237
-16
No files matched your search
@@ -56,16 +56,11 @@ namespace TON
|
||||
// Rank 21~50일 때 실행할 코드
|
||||
return LoadAsset<Sprite>($"UI/Ranking Paw/paw_5th", out result);
|
||||
}
|
||||
else if (rank >= 51 || rank == -1)
|
||||
else
|
||||
{
|
||||
// Rank 51 이상일 때 실행할 코드
|
||||
return LoadAsset<Sprite>($"UI/Ranking Paw/paw_6th", out result);
|
||||
}
|
||||
else
|
||||
{
|
||||
result = null;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public bool LoadMyRankBoxImage(out Sprite result)
|
||||
|
||||
Reference in new issue
Block a user