private void CheckMatchState(GK_RTM_Match macth) { IOSNativePopUpManager.dismissCurrentAlert(); if (macth != null) { if (macth.ExpectedPlayerCount == 0) { IOSNativePopUpManager.showMessage("Match Started", "let's play now\n Macth.ExpectedPlayerCount): " + macth.ExpectedPlayerCount); m.enabled = true; b.enabled = false; d.enabled = true; ISN_Logger.Log("Sending HelloPackage "); HelloPackage p = new HelloPackage(); p.send(); } else { IOSNativePopUpManager.showMessage("Match Created", "Macth.ExpectedPlayerCount): " + macth.ExpectedPlayerCount); } } }
private void OnGCMatchStart(GameCenterMatchData match) { IOSNativePopUpManager.showMessage("OnMatchStart", "let's play now\n Other player count: " + match.playerIDs.Count); m.enabled = true; b.enabled = false; d.enabled = true; Debug.Log("Sending HelloPackage "); HelloPackage p = new HelloPackage(); p.send(); }
private void CheckMatchState(GK_RTM_Match macth) { IOSNativePopUpManager.dismissCurrentAlert(); if(macth != null) { if(macth.ExpectedPlayerCount == 0) { IOSNativePopUpManager.showMessage ("Match Started", "let's play now\n Macth.ExpectedPlayerCount): " + macth.ExpectedPlayerCount); m.enabled = true; b.enabled = false; d.enabled = true; Debug.Log("Sending HelloPackage "); HelloPackage p = new HelloPackage(); p.send(); } else { IOSNativePopUpManager.showMessage ("Match Created", "Macth.ExpectedPlayerCount): " + macth.ExpectedPlayerCount); } } }
private void OnGCMatchStart(GameCenterMatchData match) { IOSNativePopUpManager.showMessage ("OnMatchStart", "let's play now\n Other player count: " + match.playerIDs.Count); m.enabled = true; b.enabled = false; d.enabled = true; Debug.Log("Sending HelloPackage "); HelloPackage p = new HelloPackage(); p.send(); }