storage optimized, end screen fixed, multi touch error fixed, error logs on server, fixes...
This commit is contained in:
@@ -34,6 +34,7 @@ public class GameOverCanvas : MonoBehaviour
|
||||
public Button btnRematch;
|
||||
public Button btnLeave;
|
||||
public TMP_Text rematchWarningLoser;
|
||||
public TMP_Text txtBetRC;
|
||||
public TMP_Text txtRewardRC;
|
||||
public TMP_Text txtRewardCC;
|
||||
public TMP_Text countdownTxt;
|
||||
@@ -128,7 +129,7 @@ public class GameOverCanvas : MonoBehaviour
|
||||
|
||||
|
||||
void OnBtnLeaveGameClicked(){
|
||||
LevelLoadManager.LoadLevel("MainMenu");
|
||||
GameManager.instance.Leave();
|
||||
}
|
||||
|
||||
void CollectOriginalPositionsAndScales(){
|
||||
@@ -246,7 +247,7 @@ public class GameOverCanvas : MonoBehaviour
|
||||
}
|
||||
|
||||
if(winningTeam == myTeam){
|
||||
rcPrize = 8.2f;
|
||||
rcPrize = CoinHelper.Format(GameManager.MatchRcPrizeCoins);
|
||||
}
|
||||
|
||||
btnRematch.interactable = winningTeam != myTeam;
|
||||
@@ -293,6 +294,8 @@ public class GameOverCanvas : MonoBehaviour
|
||||
StartCoroutine(CoroutineSetTextNumber(rcPrize, txtRewardRC, 10, "N1", "+", " RC"));
|
||||
StartCoroutine(CoroutineSetTextNumber(100, txtRewardCC, 100, "N0", "+", " CC"));
|
||||
|
||||
txtBetRC.text = CoinHelper.FormatString(GameManager.MatchRcPrizeCoins) + " RC";
|
||||
|
||||
yield return new WaitForSeconds(1f);
|
||||
|
||||
foreach (var item in comingDown)
|
||||
@@ -329,9 +332,11 @@ public class GameOverCanvas : MonoBehaviour
|
||||
yield return new WaitForSecondsRealtime(1f);
|
||||
}
|
||||
|
||||
LevelLoadManager.LoadLevel("MainMenu");
|
||||
|
||||
GameManager.instance.Leave();
|
||||
}
|
||||
|
||||
|
||||
public void ShowRematchPanel(){
|
||||
SetRematchPendingState(true);
|
||||
StartCoroutine(CoroutineShowRematchPanel());
|
||||
|
||||
Reference in New Issue
Block a user