feedback report 3 done
This commit is contained in:
@@ -109,6 +109,36 @@ public class LevelLoadManager : MonoBehaviour
|
||||
});
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Drops the last match from the loading screen. This object survives scene loads, so logout must call this
|
||||
/// or the next login shows the previous matchup while the overlay is up.
|
||||
/// </summary>
|
||||
public void ResetSession()
|
||||
{
|
||||
StopAllCoroutines();
|
||||
BlocksMainMenuSettingsBootstrap = false;
|
||||
gameOver = false;
|
||||
myPlayer = null;
|
||||
opponentPlayer = null;
|
||||
|
||||
canvasGroup.DOKill();
|
||||
contentImage.DOKill();
|
||||
canvasGroup.alpha = 0f;
|
||||
canvasGroup.blocksRaycasts = false;
|
||||
canvasGroup.interactable = false;
|
||||
contentImage.fillAmount = 0f;
|
||||
|
||||
matchmadeUI.SetActive(false);
|
||||
p1_winner.SetActive(false);
|
||||
p2_winner.SetActive(false);
|
||||
txtMiddle.text = "VS";
|
||||
p1_name.text = "";
|
||||
p2_name.text = "";
|
||||
p1_l10.text = "";
|
||||
p2_l10.text = "";
|
||||
txtRcPrize.text = "";
|
||||
}
|
||||
|
||||
Team myTeam = Team.Red;
|
||||
|
||||
public void SetupRematch(int rc_prize, int port, int gameId){
|
||||
|
||||
Reference in New Issue
Block a user