Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Try Catch not Working. Please Help!

$
0
0
Hi all,
I'm adding a matchmaker system to my game,and also the possibilty to secure your room with password.
The problem is when im using the Try Catch mechanism it does not seem to work.
Code (CSharp):
  1.  
  2. public void UIJoin(int index)
  3.     {
  4.         try {
  5.  
  6.             //Trying to join the match with no password, assuming there is no one.
  7.  
  8.             GuiLobbyManager.s_Singleton.matchMaker.JoinMatch(
  9.               GuiLobbyManager.s_Singleton.matches[index].networkId,
  10.               "",...
Try Catch not Working. Please Help!

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>