Quantcast
Channel: Latest Questions by Chesley
Viewing all articles
Browse latest Browse all 62

NetworkStream.GetStream() Coroutine

$
0
0
how can i make NetworkStream.GetStream a coroutine? i currently use Threading to avoid the main thread because the NetworkStream.GetStream waits for data before continuing and that temporarily freezes Unity until new data arrives. so i have no idea how to make this a coroutine I'm doing a whole workaround to get data from my thread to the main thread and that just slows things down

Viewing all articles
Browse latest Browse all 62

Trending Articles



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