This commit is contained in:
2026-05-06 01:32:09 +05:30
parent 184d4fbc04
commit c2144630fd
10 changed files with 1675 additions and 1605 deletions
+3 -1
View File
@@ -120,6 +120,7 @@ public class GameOverCanvas : MonoBehaviour
btnLeave.interactable = !val;
if(val){
StopCoroutine(countdownCoroutine);
countdownTxt.text = "";
}else{
countdownCoroutine = StartCoroutine(CoroutineCountdown());
}
@@ -336,6 +337,8 @@ public class GameOverCanvas : MonoBehaviour
StartCoroutine(CoroutineShowRematchPanel());
betSlider.maxValue = (LevelLoadManager.myPlayer.rc < LevelLoadManager.opponentPlayer.rc) ? LevelLoadManager.myPlayer.rc : LevelLoadManager.opponentPlayer.rc;
betSlider.value = betSlider.maxValue / 2;
betSlider.minValue = Mathf.Clamp(betSlider.maxValue /10f,5,10000);
}
IEnumerator CoroutineShowRematchPanel(){
@@ -358,7 +361,6 @@ public class GameOverCanvas : MonoBehaviour
StartCoroutine(CoroutineHideRematchPanel());
countdownCoroutine = StartCoroutine(CoroutineCountdown());
}
IEnumerator CoroutineHideRematchPanel(){