Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

When do functions end.

$
0
0
I have a function that uses Network.Connect, does the function end only after FULLY completing Network.Connect, like if I would do if(!Network.isClient || !Network.isServer){ ResetPlayer(); } After the Network.Connect, and then Sent an error saying failed to connect to the console, would that work, or would the !Network.isClient, type statement call before fully finishing the Network.Connect?

Viewing all articles
Browse latest Browse all 171066

Trending Articles



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