feedback report 3 done

This commit is contained in:
2026-09-24 13:12:15 +05:30
parent 5ac8f92006
commit d4c7f5dd46
21 changed files with 11867 additions and 153 deletions
+7
View File
@@ -46,6 +46,7 @@ public class GameCanvas : MonoBehaviour
public GameObject waitingForOpponentPanel;
public GameObject timeoutForOpponentPanel;
public Button btnLeaveGame;
public Button btnLeavePrematureGame;
[Header("Emotes")]
public Button btnEmote;
@@ -70,6 +71,12 @@ public class GameCanvas : MonoBehaviour
if (btnLeaveGame != null)
btnLeaveGame.onClick.AddListener(OnLeaveGamePressed);
if (btnLeavePrematureGame == null && timeoutForOpponentPanel != null)
btnLeavePrematureGame = timeoutForOpponentPanel.GetComponentInChildren<Button>(true);
if (btnLeavePrematureGame != null)
btnLeavePrematureGame.onClick.AddListener(ConfirmLeaveMatch);
if(btnEmote != null)
btnEmote.onClick.AddListener(OnEmotePressed);